added dialog to show memory use before running garbage collector