more db loading checks
Merge branch 'master' of github.com:nologic/idaref