1. Refactory run sbt commands in SBTConsoleTopComponent; 2. mode.dockInto will close tc first, it's always better to dock it in open() method, and check isOpen.