add a "Deactivate License" menu item and fix some logging issues