Fixed a few little things in msg.py.