If the classloader is unknown, or unknowable, use the current class's classloader, not teh system classloader.  Use the system classloader where loader == null.  Also, fix some names so @swankjesse doesn't think I'm a barbarian.