Added double checked lazy, improved WPF examples application and refactor