(setq buffer-name ...) changed to (rename-buffer ...)

`(buffer-name)` returns the name of the current buffer, it doesn't make sense to set it. The proper way to set a buffer name is with `(rename-buffer new-name)`.

PS: Awesome repo, I was about to reimplement the exact same thing. :+1: