Hooks gain EPIPE error handling for piped-output stability; theme selector fixed to stop redundant saves on every change.