Added keybinder toggling and ensured that window gets proper focus