1. Fix failed unittests
2. Rename class GLESInterface to class TextureCollector in order to
separate the state recording functionality and data collection