check standard is valid before setting content of metadata editor dialog
do not populate catalog using a separate thread

Fixes #154

Fix provided by dakcarto