added functional plot thumbnail and pic thing