Fix novice doctests
Fix multi image doctest
Explicitly cast window extent to integer for python 3