Huge refactoring: Refresh on window focus
Bump to version 1.8