Make toolbox import/latex expore more robust.