cleaning of notebook resources and other small fixes