missing else inserted, could prevent bogus tlp being sent
simplified writeHeaderTlp and writeTlps
simplfied MIFO
added missing parameter to mkMemServerR
two more missing params