removed unused code
call OnUnParent before making parent NULL
attempt to fix unrolled rendering of panels
fixed some issues with cached rendering and unrolled rendering
moved some code into functions
scroll: added a way to disable x and y scrollbars
frames are now using cached rendering