stat and test for max images loaded in single request
refactored stats support; added more stats