Fixed leaking global var.
Added modified-click-handling to spells.