initial commit for refactoring GuiObserver
Steps to reproduce error
- Open labplot (empty project is open)
- Open another project (File->open)
Current
It crashes because during close of the project the observer will not be notified that the project gets deleted and therefore m_aspect will not be made invalid. When opening new project, disconnect on an invalid pointer will be called and therefore the application crashes