bug fixes, changes to duel thread