fixes

setData now clears the data set to a data object
added some string helper methods