[Qt-desktop] Fullscreen and small features

Made fullscreen work, correct a crash on exit and save the current directory in the ini.