Fixed terminal-vs-window detection, and now avoid loading wonky color theme in terminal.