Baadia: added keyboard pan/zoom controls. Refactoring in progress.