[platform] [osx]: compilation warnings fix
[platform] [osx] handle special keys
Fix most uninitialized class members