Fixed a lot of small errors in the various classes.  Also became aware of problem with the limitation of only 1 connection to the db... gonna have to think about that one