- implemented display of values in addition to the hints for x/y axes
- added some checks to prevent crashes