What am I doing wrong??!!

Ok, so today I began to work on a new A.S.S. project… I borrowed the source code to VCDGearX, and severly hacked it up to work to my liking. Of course, now it doesn’t work as expected… Can someone please have a look at my code and tell me what on earth I’m doing so wrong?:

http://mirror.gobrush.com/QTMuxer.zip

ATM, I’m using Xcode 1.0.1 on Panther 10.3.1. Any help is much appreciated. I think most of my code is correct… But I certainly messed something up somewhere… Thanks in advance.

Edit:

Was going to post entire Source here… but it was too long…(Cut off by phpBB)

No one can help? Well, since you guys don’t seem to want to download my source, I’ll host the Main Applescript Code on my webiste (NOTE!: Due to all the formatting tags, the HTML page… is big, like 350K). Thanks again in advance!

http://mirror.gobrush.com/qtmuxcode.html