Refactored core$privmsg in mod core.
Marked bugfixes as done.