Updated terrain/texmanager