added 'x' function
added 'd' function
added save settings options
added imageBuffer, now image reading only one in PrevImageHolder