fix bug and improve performance of timeline diagram
In this merger request:
- Reduce displaying time for timeline diagram by removing redundant data and merge data into one line. Now on my side, each update takes less than 1 second, not several seconds like before.
- Fix the bug of hanging window when the command length is longer than 1000.
- Rename the terminated test to "DiplodocusTerminatedTest"
- Indicate task status: running, runnable, suspended, terminated.
- As you ask before "I noticed that time scale is not the same on each line" : it's because when the idle time or transactions have the size bigger than 200, I reduce it to 10 and write the annotate size instead.