Fixing gui-dependent vars not being displayed.