Added preliminary button validation, working out evaluation logic.