osx compatibility. irssi support.
Merge branch 'master' into work