Adds optional wrt/browser side logging

Jira-issue: WP-1286
Cosmetic fixes to logging

Jira-issue: WP-1286
Merge pull request #76 from mlasak/WP-1286

Adds optional wrt/browser side logging