Fix errors caused by prism spells casting with no prism.

Hunt and Shatterlock can be cast without a prism on the ground if the spell is started with one present and the prism picked up before the focus time completes.

Any call to FindPrism is now followed by a check for null return.

Also cleaned up the files a little.