Refactored mGazeThread into a private runnable class, rather than a generic Thread.