Actually, the commas inside the quotation marks is an American English thing. Regardless of logic it's completely consistent with usage in the States. In the UK it's not.
That said, where to place the commas, full stops, and semi-colons is pretty tricky no matter what side of the Atlantic you're on.