Improved quit with buffer numbers instead of windows