fix the --gen-figures mess. now figures are generated unless it is
specified the otherwise.