software cam fixes

Hi Brice,
After all new eit rewrite was writing to the same sending buffer and it corrupted the packets processed by software cam, here is the fix. There are also a couple of older fixes, for which I forgot to open pull request.
Regards