Added double if lock check around runtime creation to stop "Initialize method has not been called" exception. Fixes #216