Fixed method name for receive_message in gui.
Fixed various callback registration and execution bugs.
Patched GtkTextBuffer setting dynamic.