Feature/ipc config

I think this is stable enough to be merged.

Howm can now be configured using cottage, there is also better error reporting added too.