UI tweaks

Better display.
Scroll history to (almost) the end when new calculation is run.
Display query = result in history.