added scala console gui;