storing activity ids for each receiver to allow messages to be sent to multiple monitors

This diff will be easier to read if you ignore whitespace changes. 

I'm keeping track of the activity id for each receiver, allowing us to send messages through the cast API to the different receivers. Previously we only stored the last activity ID.