Fixed bug: Multiple calls per line

Currently, when doing a visual selection and pressing Enter, the function is called once per line due to the interface of vim functions.

I slightly changed it to using function() range instead.

As another small change, I added auto-reload to the result window, so the user doesn't have to accept any reloads of that.