Support for excluding main() from library build
Changed creation of EDIT_ACTIONS_MAP to init method
Improved output for nativeMessaging vs. cli