cleanup
simplify load path code

this is less memory-efficient, but it's much easier to read :octopus:
#783: throw an error if the app uses the DB before it's available