Some minor modifications in the gauge prototype and a minor bugfix in QlockTwo