working on win8
Added blending and did some tweeking to get it working on win8
Minor tweek