be anal again. cleanup
add option to disable dynamic lighting
non-attempt at a bit of optimization
improve villager ai and fix potential bug while cleaning up some code