Added a real root key and simplified creation of the HKEY_* special root keys.
Do not prefix all keys with the name of the top key when saving to a file.
Try to load $WINEPREFIX/config into the Wine config branch at startup.

diff --git a/server/request.c b/server/request.c
index 7f0cf64..3c619a4 100644
--- a/server/request.c
+++ b/server/request.c
@@ -72,6 +72,7 @@
 
 
 struct thread *current = NULL;  /* thread handling the current request */
+int global_error = 0;  /* global error code for when no thread is current */
 
 static struct master_socket *master_socket;  /* the master socket object */
 
@@ -103,8 +104,7 @@
 }
 
 /* die on a fatal error */
-static void fatal_error( const char *err, ... ) WINE_NORETURN;
-static void fatal_error( const char *err, ... )
+void fatal_error( const char *err, ... )
 {
     va_list args;
 
@@ -116,8 +116,7 @@
 }
 
 /* die on a fatal error */
-static void fatal_perror( const char *err, ... ) WINE_NORETURN;
-static void fatal_perror( const char *err, ... )
+void fatal_perror( const char *err, ... )
 {
     va_list args;
 
@@ -306,7 +305,7 @@
 }
 
 /* return the configuration directory ($WINEPREFIX or $HOME/.wine) */
-static const char *get_config_dir(void)
+const char *get_config_dir(void)
 {
     static char *confdir;
     if (!confdir)