Improved switching mechanism between buffers.

Prior to this change, workflow of buffer switching was kind of clumsy when 'quickfix' buffer was present.
Now we don't cycle through the 'quickfix' buffer.