Fix D3D window position regarding main window.
Changed c++ exports calling convention to __stdcall;

Fixed AssertBool to show the error message in text, instead of title (not many words fit to title).

Added PInvoke call to ResizeWindow handler.