adding thinking to UI. improved 'not getting in check' mode