Fix bugs in refresh. Refactor entries collection url.

 - Refresh no longer broken for empty collection.
 - Entries collection url now a method, not defined in init.