Added Pam's Harvestcraft support as well as a bit of stuff to help with ritual activation/deactivation.