active app stats;
log: null details not shown;
DbHelper.getOnOffEventsAtDay switched from String to SqlWhere for filtering;
exception logging fix: includes inner exceptions;