Furthermore the law also understands that the burglar put himself in thar situation. If he hadn't busted into your house none of this world be happening in the first place. He brought it all upon himself.
Wrong. Again.
The law gives you the right to defend yourself if “reasonable fear of imminent peril of death or great bodily injury". SS pointed out that the interpretation is greatly (and rightly) skewed in favor of the homeowner, but it doesn't mean you won't be arrested, your weapon taken into evidence, and a GSR test done. You'll very likely be released on your own recognizance, while the DA
decides whether the situation falls within the law. The police can arrest you, but if it's a felony (in most states) the DA (or a Grand Jury) decides if you'll be charged with a crime. The cops don't just pat you on the head and give you a cookie, unless there's an overwhelming amount of evidence that exonerates you on the spot. (Guy had a weapon, you've got video footage, witnesses, etc.)
The law is there to protect people who are defending themselves and their home against a threat. It's not simply black and white. Lots of things are taken into consideration.
You have the right to defend against a threat. They don't have to be armed. If you could reasonably assume they're a threat, that counts.
You can't kill someone for stealing from you. You can kill someone for being a threat to you and your home.
You can't put the burglar on his knees, recite a few badass lines from
Sons of Anarchy, and blow his head off.
You might not get away with shooting them in the back, if they're running away.
If your neighbor's kid comes home drunk, thinking your house is his, and climbs in a window, you
might not be charged if you shoot him.
The law is to protect your right to be safe in your own home. It's not a blank check. Most situations would be decided by the DA, the Grand Jury, or in court.
And no, a burglar can't be tied up and "tortured".