Fixing off-thread rendering for X11
Freeglut has memory leaks! No longer using it; only really need it for sphere/cube drawing, and that can be easily done without the library.