added up totals from details into summary object.
added cumulative totals.
fixed all summary items. Added other schedule states to summary. Added some colour.