added shadowClose as an option
Add getOption

This cleans up the internal access to options,
making it easier to have default values