managing the exit of the gui
Merge pull request #12 from eicnam/blabla

managing the exit of the gui :+1