Strava Upload Fix Candidate

.. attempting to fix the strava upload problems, this is
   a set of changes to look at that, but not able to test
   if it fixes the problem

.. also fixed the vomitlist of compiler warning messages