Updated to latest Terrain Control Code