Fog functions restored, though still a tad twitchy
Oops, too many saved files