Settings now seem to be correctly passed to C++.

There may still be some bugs somewhere, since I noticed that frequently the
number of ions that appear when showing the results with ionvis.display is not
the same as the number of ions specified.