SimpleNotebook cleanup