Fix error handler for development environments
Fix loadVocab errors when URL not specified