Prevents SQL injection

And add a nice image for value classifications on area. In fact,  the image was here but I missed 4 lines of code. And solve #329, too.