optionally limit the number of minima listed in the gui

use system params flag

system.params.gui.list_nmax