Fix max dock people.  Fix a case where you get an error loading chat logs if the peer cache isn't up to date.