Remove commented-out garbage, add line feed at EOF