Use ClientRect so the window doesn't get stretched
Switch to GetLastError for window style calls rather than checking returns
Minor cleanup