fixed bugs with quit button
fixed bugs with quit button, folders cleanup (actually previous commit did this), text-client CTRL-D to quit (only when it shows the commands chooser)
bug fix in text-client quit