working spellbook beacons and other bugfixes.

all the bugfixes....