Merge pull request #747 from seanpaultaylor/next

Fixes leak detected for static memory used and not freed via DebugMem te...
Merge pull request #748 from seanpaultaylor/next

Changed to FrameBuffer to finalize with SAFE_RELEASE since its extends Ref
Changed to FrameBuffer to finalize with SAFE_RELEASE since its extends Ref
Changed to FrameBuffer to finalize with SAFE_RELEASE since its extends Ref