revert older dist files
clean up positioning of DEBUG - ENDDEBUG
fix regex for debug strip to include leading and trailing spaces and trailing newlines