Clean up debug crap and fix motd to use multipart