a separate logger module, rework the preprocessing loader so that it's simpler and faster and the input is valid lua even before preprocessing