Fix error, when there are less topics than posts. Do many other things. :-)