Fix window creation with "send privmsgs to dedicated message window"

Fixes #29.