refactor (all): move event names to constants.js

When events are broadcast or received, reference their names from constants.js instead of manually typing the name as a string value in each case.

Clean up event names to be more logical and consistent

Closes #235