You may have created a new market for adult diapers.
As far as events you describe are concerned, I believe you reacted in a reasonable fashion- And accidentally leaving the door unlocked isnt something we really think about while most people are at home. Your tip is spot on.
It was about four or five years ago, that I arrived at my residence after darkto see a vehicle parked in my driveway that I wasnt familiar with. I exited my vehicle, leaving the brights on, seeing movement on the porch, I drew my weapon to a two-hand ready position, and shouted, "Who's there?"
As it turned out, it was an ex-coworker, a friend of mine, fresh from Las Vegas, camped out on my porch waiting for me to come home. Stuff like this is always a gut check, an opportunity to review your gun handling discipline, situational awareness, and ability to command a situation.