Refactored commands... again, mainwindow opens centered, textbox has autofocus, commands using interfaces instead of an abstract base class, some commands bugfixes