fixed the spells not casting relative to the caster
added non-mouse input events
jobs are now reassigned if the villager is killed