Add call to glFlush when swapping buffers
Add documentation for read_front_buffer