The static window procedure no longer attempts to access a null pointer. Also formatting changes.
Added a helper class for common D3D operations.
Added a render target class.
More graphics device and render target setup.