fixed issue with rect not being entirely correct; width and right most point must not match when left most point is 0, unfortunately throught the code the assumption is that they do (i.e code follows windows RECT convention). This is now changed and tests reflect the change

also fixed window capture to capture a maximized window using the screengrabber code instead of the window grabbing code as that has more guarantees to work correctly on windows 7+.