Make console behave more nicely when no graphics device is open;
possible runDelayed crash fix