Which sentence uses appropriate punctuation?
Helen arrived unannounced when the house was a mess and we weren't ready for visitors.
Helen arrived unannounced. When the house was a mess and we weren't ready for visitors.
Helen arrived unannounced, when the house was a mess, and we weren't ready for visitors.