- added toolbar
- added central widget
- minor cleaning and rearranging of functions