Added conditionals to check game state
Changed ArrayBuffer to mutable.ArrayBuffer
Further refactoring of run(). Added FrameRate delta and adjusted ball velocity to smooth out animation.
Merge branch 'refactor'