1. Changed swap windows key binding from C-c s to C-c v.
2. Turn off indent-tabs-mode and set c-basic-offset to 2.