added new getOptions function to overlay, to get the original options remove trailing underscore from protected properties and functions