Major changes in the gui
Fixed bug with a slot