memory monitor using wxWidgets