Alert aggregator

Also because alerts is guarded by lock you could just use var alerts = mutable.HashMap...