cgame: clean up
cgame: using switches