Improved formatting of message fields. Added some docs. Updated license.