Add some error checking to mpmstats