Improve the heuristic a bit.

Use the percentage of room left on the line instead of a magic number.
Don't place a space after a unary operator.