added memory metrics, trimmed unused metrics, and tweaked throughout