improved c-mode settings