Add a console

(unfortunately, during working on this I also added the extensions view and fixed a couple of small issues elsewhere)