removed m_AppActive in favor of SetRenderGUI()

Unified the behavior on minimize by using one method to do so. Needs testing on android and OSX (see second commit).