Finished fixing thie program.  It isn't broken now.