Fix build.
Cleaned up windowing class;

Cleaned up PInvoke class;

Added RunD3DContextAsync to Exports so it doesn't start running instantly;

D3DWindow now clears with parent window color.