Got the isRefreshable working, and fixed some related bugs. Fixes #31.