In-progress commit. Debugging ball collisions. Writing test cases, shoring up logic, how I wish Javascript had type checking.