improve image validation
improve validation in UI; polish UI