Tabs to spaces
Removed global variables, made prototypes
Moved more functionality into object methods.
Various cleanup tasks completed.

Mouse tracking is much improved.
Interaction with DOM is factored out of the app constructor.