implement redraw process

- link toolbar button to drawing process
- redraw 20fps after start button pushed
- stop redrawing after init/stop button pushed
set agent & environment to MainWindow