Tweaking cmake for win32
Fixing key handling logic on Linux, Win32 still broken
Working on the OSX tiny demo