remove dead code from cms-image. make it work in instances where theres an api 404
updated editor and better image loading