Switch from session to the g var for live perm updates.
Add protection for rcon tab