Fix hash equality function.
Implement UI loop remove.