Fixed bug in loading trityper data and some other stuff