added collectWindows option
simplified collectWindowError option
added tests for collectWindowErrors
style fix
Merge pull request #151 from mghayes/master

added collectWindows option