Refactor chord generation out to the MainVC

Also more specific tests to be sure we are only listening to our own
region identifier.
Fix minor build warning