Because it wasn't parented properly, it would show briefly the widget in its own window when creating an ARCodeWidget or a GeckoCodeWidget which would occur when accessing the game properties page or when the state changes to pause/running.
<iostream> injects a static constructor into the translation units that it's included into. This is trivially avoidable in these cases.