Fixed tab/space formatting. New methods added to GazeUtils. Minor internal refactoring