Updated splitWindow.py