Fixes to command-line frontend and ipc communication.