Adapted string passing to IPC protocol, and made sure that there's a bit less debugging output.