Some bugs fixed
Connect graph, SIGNAL(closed), this, SLOT(on_actionStop_triggered)