Improvements to several kernels
dmg plugin fixes (split kernel, do not use fixed iterations count)