Update for terminal-mode

Don't setup GUI-mode parameters when terminal-mode is enabled.
Fix first position