Added access to rootview controller outside the app delegate.

Also updated removeStartupFlicker on main app delegate to support iOS 6, since it's apparently now needed on both landscape and portrait.