Improves chat-box styling.
Improves redirect time when hosting.
Refactors network module into separate files.
Refactor and improve network state tracking.
Adds error message.
Fixes full lobby protection code.