Fix missing semicolon, header file paths in make script
Miscellaneous build fixes
Fix putPixel not putting pixels in the right location
Cleanup testing code in main