Fixed some bugs.
Added pair time visaulization.