Fixed bug 949

An IOException is caught when the user tries to load an invalid jar file in the menu Options/"Manage custom imports", but this exception is not properly treated, because its stack trace is thrown into the stdout. Now it is being properly logged and not thrown into the stdout.