Shift click fixes.

I fixed shift click crashes on both, lava furnace and researcher.
Thanks to @SuitedSlime for reminding me the method I forgot.
I also made some other, small changes.