Misc. cleanup, clamp fix for blend modes