* Add variable doubling functionality to the Pattern terminal * Fix some oversights & Extract some magic numbers