Quit dialog added

- on quit, there is dialog -> "Do you really wanna quit? Yes/No"
- changed menu buttons callback on click
- minor changes in code (lines moving etc)