Fix lightning

Fixes #632
Error caused by buffer overflow in scenery load. I've added in some extra resets of lightning to prevent any small issues.

Note #635 is not related to this and it requires its own fix.