Obvious optimization of snapshot locking during widgets initialization.
Refactored the way how widgets are discovered, initialized and destroyed during data loading and unloading.