Revert "Cleanup: Remove extra glFlush calls from a few places."

This reverts commit a8978445d3afde3a57b7c74ec7b829e19d1110bd.

Ought to fix issue #250