Added exception printouts, fixed a thing or two.