cleaned up lotsa stuff...there was a null pointer exception once when adding
stuff to the terminated list but i couldn't reproduce it, i dont know
what happened.  otherwise it ran fine