Statistics: wrote unit tests
Frame: log modified bundles, fix error message
Added option to periodically dump performance stats to logs