Added catch to bad xml parse, added util functions to HistoBins