fixing two small bugs related to message stats
Merge branch 'master' of https://github.com/PADGETS-EU/Padgets-UI