Motion detection: Fix delay to wait for gps

Also added some more logging to the log activity, so we can see where the logic is failing.