A bit further on InputController.  Added key listener trackers and some
typedefs.