Update Application.cs

reimplemented Double-check lock.
Single-check lock doesn't prevent from multi-initialization.
Merge pull request #375 from Belorus/patch-1

Update Application.cs