show histogram code if showimg is 1
add more things to ignore
initial add