Increased verbosity of error messages and removed unneeded initializations of static pointers.