Jammed in Pixel Buffer Object as the draw surface
removed some unwanted f()
Needed to build on my Ubuntu 12.10
I can't run because missing GL extensions though
Improve code to be more unix compatible.