Hiding the wrong file - need to hide parent, not ourselves!
Code cleanup introduced a bug. Fixed bug, and refactored code a little
bit more to remove duplicated logic.
Show error when a failure occurs.