Reworked functions to make more multiple friendly
Enclosed (almost) all in closure
Added selection box
Allow switching between loaded tracks