widget and a full main window dialog Adds the same toggle button as we use for 3d map canvases and attribute tables to make it super-easy to switch the Python console to a full main window.