Fix speed graph
fix X11 segfault
Merge pull request #662 from egbertbouman/speedgraph_fix

Fix speed graph
Merge pull request #664 from LipuFei/fix-x11segfault

Fix X11 Segfault