Fixed part of commandwindow, added multiline selection support (well, I think, as the extend mode seems not to work, so can't test).
Small bugfixes (also tested multiline selection with A (Shift+a)).