added check to bindings commands; added settings.get_keybindings(self,mode)