General fixes to keyboard triggers and properly working mouse support.