Finally some progress. Terrain is partially working