I've been studying the 91st PA for years; a soldier in the 91st shot Wharton. For a lot more information on Wharton's life and death, see
http://freepages.military.rootsweb.ancestry.com/~pa91/cc240001.html
(I'm currently adding more about his resignation from the army, to avoid facing yet another court martial.)
Harry