Fix result and arithmetic bug.

Fix arithmetic error when a new line of expression is shown but use an
old minus operation.
Fix result format, result number should be followed by a unit.