fix warnings
fix flick while image loading
set loading and loaded stated depend on Jcrop, not preview image