more major fixes, now works with > 32768byte msgs