got the program working properly all the way through now.  Whats left is just testing and timing.