improve presentation of the status blocks.
added net value to summary; improved null/undefined checks; added scoping to year chart; improved readability of code.

other miscellaneous small fixes.