Fixed typos + a safer client rank load procedure.

This should fix #81