I modified the whole GUI. Now the pymsg can receive a adverting message and update friend roster at
correct period. I have to create yet another queue class. I found some codes of those "put" and "get"
so similar. I ought to pick out those operation's code from them and construct a abstract class. But
in Python, although some coding styles like scheme, there is not macro, so for convenience the idea put
aside.
I must implement a dialog interface, which is used to chat. Perhaps, the main frame may be added
another alarm function in order to notify user incoming messages.