remove debug output and stuff from the loader thread