Compiles and runs on Windows.

Need to find out why invalid pngs are happening though.