Compiling fixes and added blit functions

Commented defines, compiles OK (windows)