fixed caching bugs and show current address in prefs (closes #9)