Fixed -import-megatest.db and -sync-to-megatest.db, fixed dashboard startup with no db