Remove dependency on QtWidgets when compiled with Qt5.
Start a seperate process for the gui only in Qt5.
Reload configuration on every loop.

This is specificially needed for the Qt5 mode, because we start the GUI
in a seperate process which updates only its own Configuration instance
and main instance remains unmodified. When GUI is in the same process,
as in Qt4 mode, this problem doesn't exist.