Start of fixing up of state and livemap.
Fixes up state + insim for MCI packets. Not happy with all the buffers to arraybuffer marshalling going on.