Add darwin13 support file
Merge branch 'V5-7-patches'

* V5-7-patches:
  Add darwin13 support file
Move the calculation of the delta to the presentation stage to reduce some variable scope and silence some compiler warnings.