fix up gkTerrain bug, more gkTool fixes