The desktop-floating pet never appeared. The log established that
open_pet_window ran, took the rebuild branch, and then produced neither
the success log nor the failure log — so it returned Err somewhere in
the config lookup, from_config, or build(), all three of which used a
bare `?` with no log of their own.
Two changes. close_pet_window now hides the window rather than
destroying it, so every later open takes the branch that demonstrably
works instead of the rebuild branch; hiding also keeps the pet's
listeners and animation state, which the mode switch wants back
immediately anyway. And open_pet_window is wrapped so any failure on
any path is logged with the error, rather than only the reveal step.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>