Fixed buggy input scrollback. /close no longer segfaults. lol.
generalized parsing of irc messages