Fix stupid bug in MeasureEditorDialog (typo in measure.store entry when closing). Added a test.
Add more safety when stopping a TextMonitor by not assuming a view exists (could lead to crash if the user attempt to stop twice the same monitor).