Quitting for android fixed
Terrain refactoring