Rewrote diagnostics.py as a lightgame
Gif fixes: can center vertically, turns lamps on, and properly resets grid when changing gif
Gif fixes: can center and/or offset both axes, resets lamps correctly when offset or gif changes