image comparison test made pass by ignoring 10 pixels on edges
extract window documentation: mode description added