Moved some window->display() calls to visualSwap.
Makes sense, as most visualSwap calls were followed by display calls.