Added persistence with the help of localStorage.
Improved a shitload of stuff.