CSS: Fixed file locking issue with image preview
Embed: Wait for asyn result. (#1020)