Changed SetDrawState to take a table of named parameters.  Reremoved individual functions.