Implemented zone checks to GetDistance() calls with Unit targets & fixed up the dodgy declarations (oops).