Pause state and debug info added.

Additional changes : support for multiple balls and canvas gaining focus
by itself