added frame buffer errors to sglGetErrorString
check if the controller is rotating before "reshaping"
misc. cleanup