Added comments and updated maximum message size