added graph in MainWindow, however very tiny.
Trying to add simulation in MainWindow, so made some changes in ToyController also.