Bug fixes, tidy resource_usage.py, and spruce up plots.