Minor code-style fixes. Added comments to the code.
Code-style. Minor fixes.
Fixed: Postponed instanceReady callback is called agan and again if created for an instance which is being initialized.