In general I think the thing with spaces is quite a serious problem!
regsubing spaces with ctrl-b's even in on text events can make the text too big! Simply using $1- is not acceptable in aligned text (ascii art, server stats etc).
Not many people seem concerned about it though it seems...

Using $rawmsg in outgoiing events would be nice.