Various bugfixes incl. bungee server kick issue

Also preparations for executing commands on entering gates.