Major changes -  making use of local data;

Changes to allow use of local data, in this way drastically reducing the
pages that need to be loaded. During the running of the script.

Also, preparations for recording the "spaced repetition" intervals. In a
next update, these will hopefully be in made visible on the stats page.