Fix interrupt accounting and start respecint intr_shared_edge.

Also fix a bunch of comments and do a little cleanup.
ok mikeb@