synchronized(Toolkit.class){ instance = null; }
    public void close() {        unregister();        //this could kill threads, etc. But let's save 'em for if this instance        // comes up again.        //        System.err.println( "In close(), calling clear" );        //        pause();        //        clear();        //        System.err.println( "Stopping SyncQueue" );        //        pause();        //        SyncQueue.getInstance().stop();        //        System.err.println( "Stopping KeyboardReader" );        //        pause();        //        setKeyboardReaderRunning( false );        //        System.err.println( "Skipping KeyQueue.Notify all" );        //        pause();        //// keyQueue.notifyAll();        //        System.err.println( "Closing console: " + console.getConsoleName() +        // ": " + console.getClass().getName() );        //        pause();        //        //        System.err.println( "Unregistering" );        //        unregister();        //        System.err.println( "Returning from close()" );        //        pause();    }