fixed non display of messages
optimize message sort
working on setting the title