Refactoring and WIP: glut visualization.