fix: adjust server tab element positions
Fix undeclared globals in functions and shorten lines in misc_helpers.lua.
Merge remote-tracking branch 'origin/stable'