shardui.lua: fixed procedural spellbutton generation and you can open the window after a relog without problems now

guard.lua: commented the teleport, because it crashed the server
guard.lua: moved it, because it is a playerscript, not an NPC