added refreshAll() and other color updating functions