Fixed nasty bugs in mgl-x.pl and gen-desktop.pl; mgl-x.pl now supports --help key