Review apply-to-window-index.
Manually restore point at end of buffer after switching... fix #17