Use libqtxdg for the external editor module

Everything is much cleaner now