Add qwt graphics implementation and fix some grammatical errors.

And add qwt diagrams in mainwindow.