Move shadow setting into World type, make CPU count part of the config