added a way to get the scalling factor from any widget
fixed typos
added GL_GLEXT_PROTOTYPES define for linux users