Remove debug code
Code clean-up
Disable "browse metadata" menu if metadata import fails