reworked much of the add transaction functionality to eliminate a number
of bugs.