added pseudocode for calculating the max amount of entries in the client and chat windows before overflow happens.