convert some toString methods to use StringBuilder; spacing