fix some loading not exiting on failed dependency; callback errors