Threaded viewer for quick prototyping based on Glut and SDL