refactoring, bugfix #3

* D3D9 render exception on non win32 platforms
* remove leak detecting on Tizen window objects