OF 0.8.1 support added

added a pointer to window for mac
fixed a bug that happened when pressing the green maximize button
added a function to not allow minimizing the gl window more than the
position of the textbox