added debugging statements. starfire no longer threaded for easier testing