more fixes for bugs and undefined variables

typo in grouptags
groupinvite now tells the player that got invited
alot more undefined variable fixes