Better error message
More detailed errors for window/winapi