Hey Version6 I pasted the rest of the code in there.
http://pastebin.com/m54b83a19
That is a sweet tool.