Correct url bug in calculating entailments
Display spinner until grammars are ready to view

Also remove old images when dataset is edited.