Added GPL licensing info. Cleaned up project file

Also tested on gcc 4.2. (Pretty old, but it is the latest gcc for Mac)