Switched to 2 space indentation. Sorry Gui.
The history is now reloaded after each new message