Tweaked magnetic pull module to not accept items behind blocks

Also some tweaking to reduce lightning spam
Code cleanup