performance overhaul - activity table debug