have an update function

+ some todo removes
Add a fully functional styling for main window

TODO: prompt dialog