Keyboard object refactored for much greater simplicity and faster response.
Small refactorings to Mouse object (bigger refactoring awaiting, for better touch support)