diff --git a/modules/dbus/dbus-values.c b/modules/dbus/dbus-values.c
index e273fc3..82d9fff 100644
--- a/modules/dbus/dbus-values.c
+++ b/modules/dbus/dbus-values.c
@@ -238,7 +238,8 @@ seed_js_one_value_from_dbus (SeedContext ctx,
 	char *v_STRING;
 
 	dbus_message_iter_get_basic (iter, &v_STRING);
-
+	  SEED_NOTE(MODULE,
+		"dbus got %s ",v_STRING);
         *value_p = seed_value_from_string (ctx, v_STRING, exception);
       }
       break;
diff --git a/modules/dbus/dbus.js b/modules/dbus/dbus.js
index b0fae2c..29dd8aa 100644
--- a/modules/dbus/dbus.js
+++ b/modules/dbus/dbus.js
@@ -1,4 +1,5 @@
 // Copyright 2008 litl, LLC. All Rights Reserved.
+// <script type="text/javascript">
 log = print
 Lang = imports.lang;
 //const StringUtil = imports.stringUtil;
diff --git a/modules/dbus/module.c b/modules/dbus/module.c
index 9c7e92e..e5faeca 100644
--- a/modules/dbus/module.c
+++ b/modules/dbus/module.c
@@ -214,12 +214,20 @@ complete_call (SeedContext ctx,
       return FALSE;
     }
 
-  dbus_message_iter_init (reply, &arg_iter);
+  if (!dbus_message_iter_init (reply, &arg_iter)) {
+	    SEED_NOTE(MODULE,
+			"Message has no arguments");
+	  return FALSE;
+	 }
+	 /*
   if (!dbus_message_iter_has_next(&arg_iter)) {
+	   SEED_NOTE(MODULE,
+		"Empty reply = dbus_message_iter_has_next");
+      
 	//empty reply
 	return FALSE;
   }
-
+*/
   if (!seed_js_values_from_dbus (ctx, &arg_iter, &ret_values, exception))
     {
       SEED_NOTE(MODULE, "Failed to marshal dbus call reply back to JS");
@@ -248,7 +256,8 @@ complete_call (SeedContext ctx,
   g_array_free (ret_values, TRUE);
 
   seed_js_add_dbus_props (ctx, reply, *retval, exception);
-
+SEED_NOTE(MODULE,
+		"GOT DBUS return ");
   return TRUE;
 }
 
@@ -268,11 +277,11 @@ pending_notify (DBusPendingCall * pending, void *user_data)
               "Notified of reply to async call closure %p",
 	    closure);
 
-//    if (context == NULL) {
+    if (closure == NULL) {
   SEED_NOTE(MODULE,
             "Closure destroyed before we could complete pending call");
-  //  return;
-//    }
+    return;
+    }
 
   /* reply may be NULL if none received? I think it may never be if
    * we've already been notified, but be safe here.
@@ -286,8 +295,13 @@ pending_notify (DBusPendingCall * pending, void *user_data)
   /* argv[0] will be the return value if any, argv[1] we fill with exception if any */
   argv[0] = seed_make_null (ctx);
   argv[1] = seed_make_null (ctx);
-  if (!complete_call (ctx, &argv[0], reply, &derror, &exception))
+  if (!complete_call (ctx, &argv[0], reply, &derror, &exception)) {
+	    SEED_NOTE(MODULE,
+            "No reply recieved from call");
+
+	 
 	goto noreply;
+	}
   g_assert (!dbus_error_is_set (&derror));	/* not supposed to be left set by complete_call() */
 
   if (reply)
@@ -295,6 +309,10 @@ pending_notify (DBusPendingCall * pending, void *user_data)
 
   if (exception)
 	  argv[1] = exception;
+	  
+	  SEED_NOTE(MODULE,
+            "Invoking callback..");
+	  
   seed_closure_invoke_with_context (ctx, closure, &argv[0], 2, &exception);
   if (exception && seed_value_is_object (ctx, exception))
     seed_closure_warn_exception(closure, ctx, exception);
