CMS-3352 Instantiate ContextWindow only once
Renamed some events