rm console.log
fix callbackqueue bug on logout
add debug log for factory resets