Fixes multiplayer mode, adds templates and modals