fixes referenced jars path in jar manifest
removes debug messages
removes trailing whitespace

(tested OCD-positive)
handles outfile without full path