main: log messages posted to popup and dashboard