Changing Pass Logic

Changing pass logic to remember the next take number for each pass
used, which means you can go back to a certain pass and continue on from
the last take you used or just for editing purposes.