Restructure and document logon code, minor change to sending of initial spells and start of loot system overhaul