Revert "s2d: Switch should be a boolean, not an integer."

This reverts commit b8ab59d79d218f91a871822994f2b15807a55835.
Revert "Revert "BLAH""

This reverts commit a0c3b00934b9f7e30aba3ab335d26671bb78f580.
Revert "BLAH"

This reverts commit af8e19c116c9006ef117b3e2ea4ea8cfe79f5957.
Revert "s2d: Initial logic coding."

This reverts commit 4cfb6a31c3a1b90f3192055dffaa823d1266e2af.
Revert "s2d: Fix-up small errors."

This reverts commit 0b871c0164c2f180d4d267f28fa62026200ab1e2.
Revert "s2d: Initial coding."

This reverts commit de480ee55f19d85d75512bff642f29b7b885d17e.