Reworking dx_window class. Created exception class for DirectX errors.