simplified the afterActions handling
thread ui tests are nearly ok