plot_period_histogram improvements
Merge remote-tracking branch 'mrk/master'