Added Esc function and fixed glitchy unionFan()