Prevent GUI from rendering before it's ready (fixes #127)