Fix problems with USE_CXX11
Add workaround for color.txt parsing on MinGW
Initial work on using FreeImage
Fix bug in putpixel()