re-organize and speed up unloadloot. this should be MUCH quicker and more reliable