Added error handling on template import. Disabled templates menu when there is no website and disabled 'export current site and active theme as site template' menu item when there's no active theme for the current website
remove console.log