Changed occurances of "metric" to "event"
Changed termination handling, formatted metrics.py