Minor cleanup of flashing display code.