Fix JDOM2 shading, improve error handling in WolframCommand