updated version number and clean up some dead code