Keyboard shortcuts to toggle debug and chat, fix build