Commented out debug print statements; fixed one latent bug.
Get lower-level exception from InvocationTargetException.