front: Pre-empt misuse by throwing informative exceptions.

I wish the database could just be loaded on demand, but alas, it needs
to know where the datafile is, which requires knowing some things that
require a context.