small cleanup to cookie method, avoid essessive nesting conditionals
removed more nesting.
Respect the useCookie property for captions off selection.