introduce basic gob protocol for processes

this enables window resizing.