model: cloning fix for SegmentConnection
model: selectedFigure field was added, also added to I/O operations (#15)
modelwidget: now it highlights selected figure; recognition: now it recognize clicks as 'select figure' (#15)