Improved performance and global layer handling by using "copy merged" functionality.