updated chat parser to handle 2 windows