Fixed a typo & removed one error message.
Added autosave functionality to all relevant functions. Savegames will be temporarily limited to one.
Made sure the container is clearly identified as a jquery object.
Added missing basic comments for all currently used functions, also some of these functions will be removed or replaced later on.