Changed monitoring to receive a dictionary with relevant information.

The monitoring function will receive a dictionary with the always
present 'status' key, which will hold one value of ("error",
"merging", "repairing", "connect", "downloading", "done"). Other
key-value pairs in the dictionary describe the status further.