Ensure all loadBytes calls handle IOErrorEvent

Added IO error handlers to all Loader.loadBytes() calls, and put distinct log messages in each one.