Replace mistaken comment in pan.lua with a correct one
Compactify some effects