Kill other buffers
Extracted common programming functionalities to prog-mode hooks