Change things to validate and build
Debugging support added
More robust debugging and switch handling
Better example

Using enum and multiple switch cases to show TableSwitch and
LookupSwitch