Fixes #1073
Increase logging
Let the parent handle that case
Make sure onOpen is only called once
Fix typo
Fix wrong logic