Add an option to use a different cookie for Wiggle
Several bugfixes