Importing track record and extending existing tracks works.
Removing the old commented code.
Connecting two tracks works.
General refactoring and small fixes.
Basic selection works, track/vertex importing improvements.