Bugfixes from PR comments
GLFW: reverted change from global for key mappings
More bugfixes from PR comments