Added some more analytics - exception logging and button clicks.