A complete rewrite of the BetterLAN mod.