Changed getLocData to not update the currentX/currentY/currentHeading if string is NoneType