simplified active tab conditions & added an optional boolean to display post-title in comments