Fixed memory leak by allowing glutMainLoop() to return to allow for the scene and streams to be released.