refactor broadcasts in look.java and refactor some ui tests