Feature track as reference

fixed was a huge memory leak: every measurement was stored in an in-memory list. now, while in recording mode, the track is only linked via its ID