fixing broadcast / onmessage, minor cleanup
broadcasts only sent to installation(s)
Whoops, typo: I stringified when I should've parsed...
improved registration