General cleanup, exposed key binding settings to API.