added reset library menu item, cleaned up some imports