Get const annotations right (significantperformance improvement); fix signal connect()

The change to the const annotations stops us triggering the Qt shared data
'copy on write' every time we fetch data points, which was killing performance
for graphs with any significant number of points.
Get the pause / resume / stop buttons working correctly