Fix 'case' keyword

Closes #31
Closes #32
Closes #34
Closes #35
Closes #40