Added a macro for the code that checks whether the load functions worked properly (by checking for the ENDMARKER char).  All the load functions now use it instead.