Get full path of argv[0] before we change directories.
Make sure process names are long path names.
Cleaned up initialisation a bit.

diff --git a/loader/dos/module.c b/loader/dos/module.c
index 8acf083..aa20c4c 100644
--- a/loader/dos/module.c
+++ b/loader/dos/module.c
@@ -432,7 +432,7 @@
   /* now load dosmod */
   /* check argv[0]-derived paths first, since the newest dosmod is most likely there
    * (at least it was once for Andreas Mohr, so I decided to make it easier for him) */
-  fpath=strrchr(strcpy(path,argv0),'/');
+  fpath=strrchr(strcpy(path,full_argv0),'/');
   if (fpath) {
    strcpy(fpath,"/dosmod");
    execl(path,fname,farg,NULL);
diff --git a/loader/main.c b/loader/main.c
index ea1a707..44cb3d2 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -27,16 +27,8 @@
 /***********************************************************************
  *           Main initialisation routine
  */
-BOOL MAIN_MainInit( char *argv[] )
+BOOL MAIN_MainInit(void)
 {
-    /* store the program name */
-    argv0 = argv[0];
-
-    /* Create the initial process */
-    if (!PROCESS_Init()) return FALSE;
-
-    /* Parse command line arguments */
-    OPTIONS_ParseOptions( argv );
     MAIN_WineInit();
 
     /* Load the configuration file */