General Command and Event Cleanup