removed swap_buffers call (redundant)

Removing swap_buffers call, since it's automatically called now.  Also
removing the call to use glut, since this is unlikely to work on most
windows machines (and qt works fine for me).