fixed a whole lot of first-run errors with DB-free RDF generation, and made command-line interface more sane