Refactored PageManager. Fixed possible texturing bug

Fixed possible bug when trying to render GUI directly from buffer.
2D_Texturing is enabled excplicitly.