Removed a bunch of warnings and started working on Terrain.