Merge pull request #1 from kaeza/master

Fixed errors with wide string conversion and added CMakeLists.txt
bug fixes
fix resize stuck
fix resize bug 2
fixed it
clean up and optimisations
Add splitscreen
Allow Makefile customization