Apple script with xcode help. Need help with NSProgressbar and Folders

So, the things I need help with, is putting a progress bar or a spinning wheel on a window (keep in mind this is an Applescript Application) on my apps window. It needs to be triggered

on clicked theObject

and it needs to be stopped and disappear once my script is finished executing.

ALSO if someone could develop a quick apple script that includes the following:

1: on clicked theObject opens a view to select files and/or drag and drop onto the WINDOW VIEW (not drag and drop to icon on the dock.)
2: a second window that once you add files, holds the files you added (like a queue)
3: on the queue window have

 buttons {"Add more Files","Move Files To Trash"}

AND EXTRA if you know how to make an applescript dropplet, that once you drag a file or files, it have a menu pop up with the queued files, OR a menu right on the dock. to then select the action for the files.

THANKS SO MUCH

Screenshot of what Im trying to accomplish with my first question (NSProgressbar)

Credits in my app will be given if you’d like :wink:

AN SOOPER SOOPER EXTRA, ANYONE KNOW HOW TO ADD A REGISTRATION KEY TO AN APP? LIKE A SERIAL KEY? AND MAYBE HAVE IT CONNECT TO A DATABASE :O?

http://img294.imageshack.us/img294/5509/93479568.png