fixed a minor bug
well, looks like I just made a very nice optimization
fixed hooking issues with D3D 10/10.1/11 games, made it hook by DXGI rather than by the individual APIs
also, added a copy for game capture to prevent render slowdowns
put factory->Release() in the correct spot
and one more minor tweak for safety