fixed #211
small code cleanup
Implementation of link to last post in statistics summary (closes #131)
this should not be here