Added new layout and delete the calling of app_height which is already called by do_resize.
Addes exit button to come back to the notebook.