keybindings and preferences fixes