Using correct module name in calls to logging functions.
Adding option to plot activity thresholds.