Split up handleMessageType. Added "forgotten" types to MsgTypes.