changes to wait for actions and fixes for language teaching-interaction