Natural sort for files

Files are sorted in natural order, so that cd2 is before cd10 etc.
Added track selection dialog
Fixed crashes caused by js garbage collection.