Improve UI; clean up memory debugging tests.