(potentially) final cleanup of notebook