Don’t peg the CPU: Set the refresh interval to 15ms. Moved GLWidget enums into class definition.