Removes a bunch of trailing whitespace