Smarter win position, add general functions

- Use winsaveview
- Add general use case functions
- Cleanup code
- Add usage to readme
- Fixed broken tests