formatting and tweaks
merge, format, and test
Fix issue #294, enable Ctrl + click on activity link for new tab