Clean up code style, add a connect/disconnect button for the MUD connection, fix issues with escaping <> characters