random failures fixed
finished, cleaned up dialog