Update license to GPLv3, fix header comments