notebook: UI bug fixes