add: msg-part.js to handle multipart messages
mod: some areas that needed tweaking