Moved debugger to libwine to make it available to WineLib apps.
Try to invoke external debugger if internal debugger crashes.
Try to handle early invocation of debugger more gracefully.

diff --git a/miscemu/main.c b/miscemu/main.c
index 675826d..566ed6f 100644
--- a/miscemu/main.c
+++ b/miscemu/main.c
@@ -108,12 +108,8 @@
 {
     NE_MODULE *pModule;
 
-    /* Set up debugger hook */
-    EXC_SetDebugEventHook( wine_debugger );
-    TASK_AddTaskEntryBreakpoint = DEBUG_AddTaskEntryBreakpoint;
-
     /* Initialize everything */
-    if (!MAIN_MainInit( &argc, argv )) return 1;
+    if (!MAIN_MainInit( &argc, argv, FALSE )) return 1;
     MAIN_argc = argc; MAIN_argv = argv;
 
     /* Create initial task */