Fixed thumbnail refresh, added 'add to gallery' field