Changed options processing from using string compares in macros to using Tcl_GetIndexFromObj and switch.