removing defun and using a lambda for previous window
increasing sbcl heap