Fixed all warnings.
Added CMakeLists.txt.
Added cmake build instructions to README.txt.
Fix to console key binding.