Tooltip clean up, and fixes.

Fixes issue #253, and some edge cases for tooltips causing too much parameter data to be shown