Added statistics QSelf stuff and changed time conversion