numerous tweaks to summary updating & debug

More fixes for https://github.com/instanttim/monitormate/issues/11
which turns out wasn’t really fixed before.