don’t use the mutable array.

Internally the selection is a NSMutableOrderedSet
use nicer API
remove tab
callAfter does not work her as it returns immediately
use proper path handling