Fix call to GetAreaTriggerLockStatus, removed some old code