Communication with GUI over protobuf