Overhaul flyout and add chatHistory panel
Correctly register event listeners and listen to server broadcasts
Also add default maxChatHistory value to config.yml