Added the thumbnail stuff. still won't autosave, who knows why.