public Thread newThread(Runnable r) {
        Notifier n = new Notifier(r);
		Thread t = new SessionThreadImpl(n);
        n.setThread(t);
		t.setName(id+""+counter++);
		t.setDaemon(isDaemon); //set to child thread so this thread doesn't keep jvm running
        
        if(log.isLoggable(Level.FINE))
            log.fine("returning t="+t);
        threads.add(t);
		return t;
	}