Make circular lighting pattern the way lighting works.
Remove globally setting light level based on items the player is holding.
A little cleanup of debug and prototype code I missed when merging the lighting rework.
Tweak sqrt() usage to make MSVC be quiet (since it replaces <math.h> with <cmath> when compiling C++)
Fix a segfault with the material rewrite

Need to use <= instead of < on that bounds check
Merge PR #1344 - apply circular lighting globally