add persistent saving for textFields for Window1
update adapt resolution algorithm
apply adapt resolution algorithm to Window2
fix bug in Result SI Max calculation if Role == constant
fix minor bugs