[webui] rework the statistics route to not crash on old/invalid data
[webui] fix crash on build statistics with disk data without disk size
[webui] neither crash on missing memory information