added groupchat actions
improve line history functionality
correct usage of wcwidth()
this makes more sense
had the names confused
couple fixes