Implemented a basic savegame system using jstorage. I will have to add controls for this.