Well, I'm hoping you put in some changes to make it work for everyone's liking.
#1 - The pause doesn't work for peace. It stops with the carto or map screen up and when you unpause it freezes up.
*Tested yet again and it did unfreeze after 15 seconds, then it continued training.
#2 - I've shown you how to modify the script to use instruments out of a secure, or bank. It puts one in your pack and trains on that one till it's gone, then gets another. I think this is a very good way of running the script. If you still choose to load your pack with 125 instruments, you can, and it'll work fine.
#3 - I got rid of the whole first "find instrument" portion as it is the same code thats used later in the sub setinst. There's no reason to include the same portions more then once.
I have no idea if the other portions of the script work at all as I'm only working peace. I suggest you give them a try and see if they have the same types of problems.
I can post up the fixed script if you'd like.