Use QApplication::applicationState to detect if we're in the background.

May want to expand upon this at some point; if we’re hidden we most
definitely *do not* want to render anything