Multimodal integration in MMI2: anaphora resolution and mode selection