For #28, fixed updating GPS co-ordinates, added some comments for clarity.