Added comments and updated header for graphicsUtil.

frameBuffer may be moved to globals.h. Probably not though, on second thought.