osx+st2 fixes and workarounds, please don't ask :-/
fixes #5