Latest working codes.  Light builder, newLevel and updates to the tool