Debug trackball.
Debug and cleanup.