remove trailing whitespace, commented-out code