fixed getting the numbers of messages;
some fixes for read  of account's parameters (issue #10);