Many changes

* Separate infobar in its own UI file
* Fix the window hanging when closing
* Run the GUI only after it was fully initialized
* Other I don't remember