Lotsa multitrack stuff.
Added vectors to add multitrack support.
Fixed memory bug and track toggle bug.