Major work. Building interface between irc and ui.