fix bugs in display_message.php, decrypt.php, query message, and add functions of counting message size