Implement popup window alignment with respect to caret or selection.

Closes #36.
Update README.md