Fixed a die command, changed to throw a nice clean exception
Fix to initializer to catch DTD exceptions more cleanly