Issue #29: refactored GLAppDelegate to use ViewManager, and separate logic and draw tasks