Fixed default on switch statements.

Fixed return value in compiler, and modified core to make the switches
default, the default.