Fixed HWM support, fixed shadow_copy linger
Merge pull request #219 from weberr13/addedHWM

Fixed HWM support, fixed shadow_copy linger