Make several variables constants.

While `defconst` will not prevent the user from altering a
variable's state, it conveys more clearly the fact that the
value of the particular variable is not meant to be changed.