Correct fault on deleting route/track while shown in Properties dialog
Avoid assert on empty list.
Merge branch 'master' of https://github.com/OpenCPN/OpenCPN