thread safety statics work

Various arrays of constants set and then assigned to other arrays of constants.
Make the static arrays const for thread safety.
Make the arrays these are copied to const.