Fixed startup unpacking
Added debug output