Fixing lots of syntax errors and bugs in calculate stats totals. Was coding in Sublime before. ;-)