Fix visibility of Import image layer.
Drop some blend modes and replace them with Onto mode if rendering in sSimplified Cairo

Remove trailing spaces.
Replace return with break.