memory reporting, -main now supports globbing