Initial code commit.
Fix issue with DB connect dialog freezing.