Text this: Quantification and improvement of state consistency in a virtual environment under adverse network conditions