Fixed running of standalone via command line.  Also, only do save from
main() so that run-as-modal doesn't automatically save database.
1 file changed