added stopping criteria based on user set max iterations and max function budget
reverted static threshold in automaxiter stopping criteria in order to be able to reuse criteria across sessions
improved output of failed tests on functions in exe