diff --git a/lispusers/HANOI b/lispusers/HANOI
index cc1ccf2b..99143961 100644
--- a/lispusers/HANOI
+++ b/lispusers/HANOI
@@ -1,70 +1,74 @@
-(FILECREATED "25-Feb-86 19:07:01" {ERIS}<LISPUSERS>KOTO>HANOI.;7 19947  
+(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
 
-      changes to:  (VARS HANOICOMS)
+(FILECREATED "21-Aug-2022 18:08:56" {DSK}<home>larry>medley>lispusers>HANOI.;2 22228  
 
-      previous date: "17-Feb-86 14:59:01" {ERIS}<LISPUSERS>KOTO>HANOI.;5)
+      :CHANGES-TO (VARS HANOICOMS)
+
+      :PREVIOUS-DATE "25-Feb-86 19:07:01" {DSK}<home>larry>medley>lispusers>HANOI.;1)
 
 
-(* Copyright (c) 1982, 1983, 1984, 1985, 1986 by Xerox Corporation. All rights reserved.)
+(* ; "
+Copyright (c) 1982-1986 by Xerox Corporation.
+")
 
 (PRETTYCOMPRINT HANOICOMS)
 
-(RPAQQ HANOICOMS ((FNS DISPLAYPEGSANDRINGS DOHANOI FINDOTHER HANOI HANOIDEMO MOVEDIS MOVERING 
-			 RINGSHADE SETUPRINGBITMAPS TRACK WHANOI XHANOI)
-		    (VARS (HANOIWINDOW))
-		    (DECLARE: DONTCOPY (RECORDS PEG RING)
-			      (CONSTANTS XRINGSHADE ORINGSHADE XPEGSHADE)
-			      (CONSTANTS PEGMIN HANOIMARGIN (MAXVERTSPEED 30)
-					 (MAXHORIZSPEED 44))
-			      (MACROS PEGN))
-		    (VARS EVENRINGSHADE ODDRINGSHADE PEGSHADE)
-		    (ALISTS (IDLE.FUNCTIONS Hanoi HanoiUsername))))
+(RPAQQ HANOICOMS
+       ((FNS DISPLAYPEGSANDRINGS DOHANOI FINDOTHER HANOI HANOIDEMO MOVEDIS MOVERING RINGSHADE 
+             SETUPRINGBITMAPS TRACK WHANOI XHANOI)
+        (VARS (HANOIWINDOW))
+        (DECLARE%: DONTCOPY (RECORDS PEG RING)
+               (CONSTANTS XRINGSHADE ORINGSHADE XPEGSHADE)
+               (CONSTANTS PEGMIN HANOIMARGIN (MAXVERTSPEED 30)
+                      (MAXHORIZSPEED 44))
+               (MACROS PEGN))
+        (VARS EVENRINGSHADE ODDRINGSHADE PEGSHADE)
+        (ALISTS (IDLE.FUNCTIONS Hanoi HanoiUsername))))
 (DEFINEQ
 
 (DISPLAYPEGSANDRINGS
-  [LAMBDA (PEGS W)                                           (* edited: " 1-Oct-84 12:41")
-                                                             (* displays the pegs and the rings on them.)
-    (for PEG in PEGS
-       do (\CLEARBM W PEGSHADE (fetch PEGREGION of PEG))
-	  (for RING in (fetch RINGS of PEG)
-	     do (\CLEARBM W (RINGSHADE (fetch RINGNUMBER of RING))
-			  (fetch RINGREGION of RING))
-		(COND
-		  ((fetch RINGLABEL of RING)
-		    (CENTERPRINTINREGION (fetch RINGLABEL of RING)
-					 (fetch RINGREGION of RING)
-					 W])
+  [LAMBDA (PEGS W)                                           (* edited%: " 1-Oct-84 12:41")
+                                                             (* displays the pegs and the rings on 
+                                                             them.)
+    (for PEG in PEGS do (\CLEARBM W PEGSHADE (fetch PEGREGION of PEG))
+                        (for RING in (fetch RINGS of PEG)
+                           do (\CLEARBM W (RINGSHADE (fetch RINGNUMBER of RING))
+                                     (fetch RINGREGION of RING))
+                              (COND
+                                 ((fetch RINGLABEL of RING)
+                                  (CENTERPRINTINREGION (fetch RINGLABEL of RING)
+                                         (fetch RINGREGION of RING)
+                                         W])
 
 (DOHANOI
-  [LAMBDA (N SRC DST W)                                      (* lmm " 8-MAR-82 12:05")
-    (COND
-      ((EQ N 1)
-	(MOVERING SRC DST W))
-      (T (DOHANOI (SUB1 N)
-		  SRC
-		  (FINDOTHER SRC DST)
-		  W)
-	 (MOVERING SRC DST W)
-	 (DOHANOI (SUB1 N)
-		  (FINDOTHER SRC DST)
-		  DST W])
+  [LAMBDA (N SRC DST W)                                      (* lmm " 8-MAR-82 12:05")
+    (COND
+       ((EQ N 1)
+        (MOVERING SRC DST W))
+       (T (DOHANOI (SUB1 N)
+                 SRC
+                 (FINDOTHER SRC DST)
+                 W)
+          (MOVERING SRC DST W)
+          (DOHANOI (SUB1 N)
+                 (FINDOTHER SRC DST)
+                 DST W])
 
 (FINDOTHER
-  [LAMBDA (S D)                                              (* bas: "10-DEC-80 14:01")
-    (for Z from 1 to 3 thereis (NOT (OR (EQ Z S)
-					(EQ Z D])
+  [LAMBDA (S D)                                              (* bas%: "10-DEC-80 14:01")
+    (for Z from 1 to 3 thereis (NOT (OR (EQ Z S)
+                                        (EQ Z D])
 
 (HANOI
-  [LAMBDA (NRINGS WINDOW FONT ONCE)                          (* lmm " 9-MAR-82 09:52")
+  [LAMBDA (NRINGS WINDOW FONT ONCE)                          (* lmm " 9-MAR-82 09:52")
     (WHANOI NRINGS WINDOW FONT ONCE])
 
 (HANOIDEMO
-  [LAMBDA NIL                                                          (* lmm 
-                                                                           "17-Feb-86 14:58")
+  [LAMBDA NIL                                                (* lmm "17-Feb-86 14:58")
     (PROG (HANOI.MOUSE.SPEED)
           (WHANOI 7
                  [COND
-                    ((TYPENAMEP HANOIWINDOW (QUOTE WINDOW))
+                    ((TYPENAMEP HANOIWINDOW 'WINDOW)
                      HANOIWINDOW)
                     (T (SETQ HANOIWINDOW
                         (CREATEW (create REGION
@@ -75,18 +79,16 @@
                  NIL T])
 
 (MOVEDIS
-  [LAMBDA (RING DY SX DX W)                                            (* lmm 
-                                                                           "17-Feb-86 14:58")
-            
-            (* moves RING from its position on the source peg whose left is SX to 
-            the peg whose left is DX at a height of DY)
+  [LAMBDA (RING DY SX DX W)                                  (* lmm "17-Feb-86 14:58")
+
+         (* moves RING from its position on the source peg whose left is SX to the peg 
+         whose left is DX at a height of DY)
 
     (PROG ((RINGREGION (fetch RINGREGION of RING))
            RINGWIDTH HORIZWIDTH MOVERIGHTFLG)
           [COND
-             (HANOI.MOUSE.SPEED (GETMOUSESTATE)                            (* IPLUS 16 is 
-                                                                           because cursor can go 
-                                                                           negative.)
+             (HANOI.MOUSE.SPEED (GETMOUSESTATE)              (* IPLUS 16 is because cursor can go 
+                                                             negative.)
                     (SETQ VERTSPEED (IMIN (IMAX (IDIFFERENCE 17 (IQUOTIENT LASTMOUSEY 50))
                                                 1)
                                           MAXVERTSPEED))
@@ -95,333 +97,298 @@
                                            MAXHORIZSPEED]
           (SETUPRINGBITMAPS RING (SETQ RINGWIDTH (fetch WIDTH of RINGREGION))
                  (SETQ MOVERIGHTFLG (IGREATERP DX SX))
-                 W)                                                        (* PROG is because 
-                                                                           FOR loop bug.)
+                 W)                                          (* PROG is because FOR loop bug.)
           (PROG ((I (fetch BOTTOM of RINGREGION))
                  (TOPLIMIT (IDIFFERENCE PEGTOP VERTSPEED)))
             LP  (COND
                    ((IGREATERP TOPLIMIT I)
                     (BITBLT UPRINGBM 0 0 W SX I RINGWIDTH (IPLUS RINGHEIGHT VERTSPEED)
-                           (QUOTE INPUT)
-                           (QUOTE REPLACE))
+                           'INPUT
+                           'REPLACE)
                     (SETQ I (IPLUS VERTSPEED I))
                     (GO LP)))
                 (BITBLT UPRINGBM 0 (IDIFFERENCE I TOPLIMIT)
                        W SX I RINGWIDTH (IPLUS RINGHEIGHT VERTSPEED)
-                       (QUOTE INPUT)
-                       (QUOTE REPLACE)))
+                       'INPUT
+                       'REPLACE))
           (BITBLT TOPUPRINGBM 0 0 W SX PEGTOP RINGWIDTH (IPLUS RINGHEIGHT VERTSPEED)
-                 (QUOTE INPUT)
-                 (QUOTE REPLACE))
+                 'INPUT
+                 'REPLACE)
           (SETQ HORIZWIDTH (IPLUS RINGWIDTH HORIZSPEED))
           (for I from (COND
-                                 (MOVERIGHTFLG SX)
-                                 (T (IDIFFERENCE SX HORIZSPEED)))
+                         (MOVERIGHTFLG SX)
+                         (T (IDIFFERENCE SX HORIZSPEED)))
              to (COND
-                       (MOVERIGHTFLG (SUB1 (IDIFFERENCE DX HORIZSPEED)))
-                       (T (ADD1 DX))) by (ITIMES (COND
-                                                        ((IGREATERP DX SX)
-                                                         1)
-                                                        (T -1))
-                                                    HORIZSPEED)
-             do (BITBLT HORIZRINGBM 0 0 W I (IPLUS PEGTOP VERTSPEED)
-                           HORIZWIDTH RINGHEIGHT (QUOTE INPUT)
-                           (QUOTE REPLACE)))
+                   (MOVERIGHTFLG (SUB1 (IDIFFERENCE DX HORIZSPEED)))
+                   (T (ADD1 DX))) by (ITIMES (COND
+                                                ((IGREATERP DX SX)
+                                                 1)
+                                                (T -1))
+                                            HORIZSPEED) do (BITBLT HORIZRINGBM 0 0 W I
+                                                                  (IPLUS PEGTOP VERTSPEED)
+                                                                  HORIZWIDTH RINGHEIGHT 'INPUT
+                                                                  'REPLACE))
           (BITBLT HORIZRINGBM 0 0 W (COND
                                        (MOVERIGHTFLG (IDIFFERENCE DX HORIZSPEED))
                                        (T DX))
                  (IPLUS PEGTOP VERTSPEED)
-                 HORIZWIDTH NIL (QUOTE INPUT)
-                 (QUOTE REPLACE))                                          (* Update the ring 
-                                                                           region's left)
+                 HORIZWIDTH NIL 'INPUT 'REPLACE)             (* Update the ring region's left)
           (replace LEFT of RINGREGION with (IPLUS (fetch LEFT of RINGREGION)
-                                                              (IDIFFERENCE DX SX)))
-          (for I from PEGTOP to (SUB1 (IDIFFERENCE PEGTOP RINGHEIGHT))
-             by (IMINUS VERTSPEED) do (BITBLT TOPDOWNRINGBM NIL NIL W DX I RINGWIDTH
-                                                     (IPLUS RINGHEIGHT VERTSPEED)
-                                                     (QUOTE INPUT)
-                                                     (QUOTE REPLACE)))
+                                                  (IDIFFERENCE DX SX)))
+          (for I from PEGTOP to (SUB1 (IDIFFERENCE PEGTOP RINGHEIGHT)) by (IMINUS VERTSPEED)
+             do (BITBLT TOPDOWNRINGBM NIL NIL W DX I RINGWIDTH (IPLUS RINGHEIGHT VERTSPEED)
+                       'INPUT
+                       'REPLACE))
           (BITBLT TOPDOWNRINGBM NIL NIL W DX (IDIFFERENCE PEGTOP RINGHEIGHT)
                  RINGWIDTH
                  (IPLUS RINGHEIGHT VERTSPEED)
-                 (QUOTE INPUT)
-                 (QUOTE REPLACE))
+                 'INPUT
+                 'REPLACE)
           (PROG [(I (IDIFFERENCE PEGTOP (IPLUS VERTSPEED RINGHEIGHT]
             LP  (COND
-                   ((IGREATERP DY I)                                       (* blt last ring 
-                                                                           image)
+                   ((IGREATERP DY I)                         (* blt last ring image)
                     (BITBLT DOWNRINGBM 0 0 W DX DY RINGWIDTH (COND
                                                                 ((IGREATERP VERTSPEED RINGHEIGHT)
                                                                  (IDIFFERENCE (IPLUS RINGHEIGHT 
                                                                                      VERTSPEED)
                                                                         (IDIFFERENCE DY I)))
                                                                 (T (IPLUS RINGHEIGHT VERTSPEED)))
-                           (QUOTE INPUT)
-                           (QUOTE REPLACE))
+                           'INPUT
+                           'REPLACE)
                     (RETURN)))
                 (BITBLT DOWNRINGBM 0 0 W DX I RINGWIDTH (IPLUS RINGHEIGHT VERTSPEED)
-                       (QUOTE INPUT)
-                       (QUOTE REPLACE))
+                       'INPUT
+                       'REPLACE)
                 (SETQ I (IDIFFERENCE I VERTSPEED))
                 (GO LP))
           (replace BOTTOM of RINGREGION with DY)
           (RETURN RING])
 
 (MOVERING
-  [LAMBDA (SRC DST W)                                        (* rrb " 2-AUG-82 17:41")
-    (PROG ([X (fetch RINGREGION of (CAR (fetch RINGS of (PEGN DST]
-	   RING)
+  [LAMBDA (SRC DST W)                                        (* rrb " 2-AUG-82 17:41")
+    (PROG ([X (fetch RINGREGION of (CAR (fetch RINGS of (PEGN DST]
+           RING)
           (push (fetch RINGS of (PEGN DST))
-		(MOVEDIS [SETQ RING (pop (fetch RINGS of (PEGN SRC]
-			 (IPLUS (fetch BOTTOM of X)
-				(fetch HEIGHT of X))
-			 (TRACK SRC (fetch RINGREGION of RING))
-			 (TRACK DST (fetch RINGREGION of RING))
-			 W))
-          (BLOCK])
+                (MOVEDIS [SETQ RING (pop (fetch RINGS of (PEGN SRC]
+                       (IPLUS (fetch BOTTOM of X)
+                              (fetch HEIGHT of X))
+                       (TRACK SRC (fetch RINGREGION of RING))
+                       (TRACK DST (fetch RINGREGION of RING))
+                       W))
+          (BLOCK])
 
 (RINGSHADE
-  [LAMBDA (RINGN)                                            (* rrb " 9-JUN-81 15:11")
-    (COND
-      ((EQ RINGN (QUOTE BASE))
-	PEGSHADE)
-      ((ZEROP (LOGAND RINGN 1))
-	EVENRINGSHADE)
-      (T ODDRINGSHADE])
+  [LAMBDA (RINGN)                                            (* rrb " 9-JUN-81 15:11")
+    (COND
+       ((EQ RINGN 'BASE)
+        PEGSHADE)
+       ((ZEROP (LOGAND RINGN 1))
+        EVENRINGSHADE)
+       (T ODDRINGSHADE])
 
 (SETUPRINGBITMAPS
-  [LAMBDA (RING RINGWIDTH MOVERIGHTFLG W)                    (* edited: " 1-Oct-84 12:43")
+  [LAMBDA (RING RINGWIDTH MOVERIGHTFLG W)                    (* edited%: " 1-Oct-84 12:43")
 
-          (* sets up the ring bitmaps. There are 5 ring bitmaps: up while on peg, up above peg, horizontal, down above peg and
-	  down while on peg.)
+         (* sets up the ring bitmaps. There are 5 ring bitmaps%: up while on peg, up above 
+         peg, horizontal, down above peg and down while on peg.)
 
-
-    (PROG ((PEGOFFSET (IQUOTIENT (IDIFFERENCE RINGWIDTH PEGWIDTH)
-				 2))
-	   (RINGREGION (fetch RINGREGION of RING))
-	   (RINGN (fetch RINGNUMBER of RING)))
-          (AND FONT (DSPFONT FONT RDEST))
-          (DSPOPERATION (QUOTE ERASE)
-			RDEST)
-          [PROGN (\CLEARBM UPRINGBM)
-		 (BITBLT NIL NIL NIL UPRINGBM 0 VERTSPEED RINGWIDTH RINGHEIGHT (QUOTE TEXTURE)
-			 (QUOTE REPLACE)
-			 (RINGSHADE RINGN))                  (* put in peg)
-		 (BITBLT NIL NIL NIL UPRINGBM PEGOFFSET 0 PEGWIDTH VERTSPEED (QUOTE TEXTURE)
-			 (QUOTE REPLACE)
-			 PEGSHADE)
-		 (COND
-		   ((fetch RINGLABEL of RING)                (* print in label if there is one.)
-		     (DSPDESTINATION UPRINGBM RDEST)
-		     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
-					0 VERTSPEED RINGWIDTH RINGHEIGHT RDEST]
-          [PROGN (\CLEARBM TOPUPRINGBM)
-		 (BITBLT NIL NIL NIL TOPUPRINGBM 0 VERTSPEED RINGWIDTH RINGHEIGHT (QUOTE TEXTURE)
-			 (QUOTE REPLACE)
-			 (RINGSHADE RINGN))
-		 (COND
-		   ((fetch RINGLABEL of RING)                (* print in label if there is one.)
-		     (DSPDESTINATION TOPUPRINGBM RDEST)
-		     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
-					0 VERTSPEED RINGWIDTH RINGHEIGHT RDEST]
-          (PROGN (\CLEARBM DOWNRINGBM)
-		 (BITBLT NIL NIL NIL DOWNRINGBM 0 0 RINGWIDTH RINGHEIGHT (QUOTE TEXTURE)
-			 (QUOTE REPLACE)
-			 (RINGSHADE RINGN))
-		 (COND
-		   ((fetch RINGLABEL of RING)                (* print in label if there is one.)
-		     (DSPDESTINATION DOWNRINGBM RDEST)
-		     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
-					0 0 RINGWIDTH RINGHEIGHT RDEST)))
-                                                             (* put in peg)
-		 (BITBLT NIL NIL NIL DOWNRINGBM PEGOFFSET RINGHEIGHT PEGWIDTH VERTSPEED (QUOTE 
-											  TEXTURE)
-			 (QUOTE REPLACE)
-			 PEGSHADE))
-          [PROGN (\CLEARBM TOPDOWNRINGBM)
-		 (BITBLT NIL NIL NIL TOPDOWNRINGBM 0 0 RINGWIDTH RINGHEIGHT (QUOTE TEXTURE)
-			 (QUOTE REPLACE)
-			 (RINGSHADE RINGN))
-		 (COND
-		   ((fetch RINGLABEL of RING)                (* print in label if there is one.)
-		     (DSPDESTINATION TOPDOWNRINGBM RDEST)
-		     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
-					0 0 RINGWIDTH RINGHEIGHT RDEST]
-          [PROGN (\CLEARBM HORIZRINGBM)
-		 (BITBLT NIL NIL NIL HORIZRINGBM (COND
-			   (MOVERIGHTFLG HORIZSPEED)
-			   (T 0))
-			 0 RINGWIDTH RINGHEIGHT (QUOTE TEXTURE)
-			 (QUOTE REPLACE)
-			 (RINGSHADE RINGN))
-		 (COND
-		   ((fetch RINGLABEL of RING)                (* print in label if there is one.)
-		     (DSPDESTINATION HORIZRINGBM RDEST)
-		     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
-					(COND
-					  (MOVERIGHTFLG HORIZSPEED)
-					  (T 0))
-					0 RINGWIDTH RINGHEIGHT RDEST]
-          (RETURN])
+    (PROG ((PEGOFFSET (IQUOTIENT (IDIFFERENCE RINGWIDTH PEGWIDTH)
+                             2))
+           (RINGREGION (fetch RINGREGION of RING))
+           (RINGN (fetch RINGNUMBER of RING)))
+          (AND FONT (DSPFONT FONT RDEST))
+          (DSPOPERATION 'ERASE RDEST)
+          [PROGN (\CLEARBM UPRINGBM)
+                 (BITBLT NIL NIL NIL UPRINGBM 0 VERTSPEED RINGWIDTH RINGHEIGHT 'TEXTURE 'REPLACE
+                        (RINGSHADE RINGN))                   (* put in peg)
+                 (BITBLT NIL NIL NIL UPRINGBM PEGOFFSET 0 PEGWIDTH VERTSPEED 'TEXTURE 'REPLACE 
+                        PEGSHADE)
+                 (COND
+                    ((fetch RINGLABEL of RING)               (* print in label if there is one.)
+                     (DSPDESTINATION UPRINGBM RDEST)
+                     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
+                            0 VERTSPEED RINGWIDTH RINGHEIGHT RDEST]
+          [PROGN (\CLEARBM TOPUPRINGBM)
+                 (BITBLT NIL NIL NIL TOPUPRINGBM 0 VERTSPEED RINGWIDTH RINGHEIGHT 'TEXTURE
+                        'REPLACE
+                        (RINGSHADE RINGN))
+                 (COND
+                    ((fetch RINGLABEL of RING)               (* print in label if there is one.)
+                     (DSPDESTINATION TOPUPRINGBM RDEST)
+                     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
+                            0 VERTSPEED RINGWIDTH RINGHEIGHT RDEST]
+          (PROGN (\CLEARBM DOWNRINGBM)
+                 (BITBLT NIL NIL NIL DOWNRINGBM 0 0 RINGWIDTH RINGHEIGHT 'TEXTURE 'REPLACE
+                        (RINGSHADE RINGN))
+                 (COND
+                    ((fetch RINGLABEL of RING)               (* print in label if there is one.)
+                     (DSPDESTINATION DOWNRINGBM RDEST)
+                     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
+                            0 0 RINGWIDTH RINGHEIGHT RDEST)))(* put in peg)
+                 (BITBLT NIL NIL NIL DOWNRINGBM PEGOFFSET RINGHEIGHT PEGWIDTH VERTSPEED 'TEXTURE
+                        'REPLACE PEGSHADE))
+          [PROGN (\CLEARBM TOPDOWNRINGBM)
+                 (BITBLT NIL NIL NIL TOPDOWNRINGBM 0 0 RINGWIDTH RINGHEIGHT 'TEXTURE 'REPLACE
+                        (RINGSHADE RINGN))
+                 (COND
+                    ((fetch RINGLABEL of RING)               (* print in label if there is one.)
+                     (DSPDESTINATION TOPDOWNRINGBM RDEST)
+                     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
+                            0 0 RINGWIDTH RINGHEIGHT RDEST]
+          [PROGN (\CLEARBM HORIZRINGBM)
+                 (BITBLT NIL NIL NIL HORIZRINGBM (COND
+                                                    (MOVERIGHTFLG HORIZSPEED)
+                                                    (T 0))
+                        0 RINGWIDTH RINGHEIGHT 'TEXTURE 'REPLACE (RINGSHADE RINGN))
+                 (COND
+                    ((fetch RINGLABEL of RING)               (* print in label if there is one.)
+                     (DSPDESTINATION HORIZRINGBM RDEST)
+                     (CENTERPRINTINAREA (fetch RINGLABEL of RING)
+                            (COND
+                               (MOVERIGHTFLG HORIZSPEED)
+                               (T 0))
+                            0 RINGWIDTH RINGHEIGHT RDEST]
+          (RETURN])
 
 (TRACK
-  [LAMBDA (PN REGION)                                        (* lmm " 8-MAR-82 12:10")
-                                                             (* returns the track offset for ring movement on a 
-							     peg.)
-    (IPLUS HANOIMARGIN (IPLUS (ITIMES RINGLARGEST (SUB1 PN))
-			      (IQUOTIENT (IDIFFERENCE RINGLARGEST (fetch WIDTH of REGION))
-					 2])
+  [LAMBDA (PN REGION)                                        (* lmm " 8-MAR-82 12:10")
+                                                             (* returns the track offset for ring 
+                                                             movement on a peg.)
+    (IPLUS HANOIMARGIN (IPLUS (ITIMES RINGLARGEST (SUB1 PN))
+                              (IQUOTIENT (IDIFFERENCE RINGLARGEST (fetch WIDTH of REGION))
+                                     2])
 
 (WHANOI
-  [LAMBDA (RINGS W FONT ONCE)                                (* lmm " 3-Dec-85 12:51")
-                                                             (* runs hanoi in a region of a displaystream)
-    (PROG ([REGION (DSPCLIPPINGREGION NIL (SETQ W (COND
-					      [(NULL W)
-						(OR HANOIWINDOW (SETQ HANOIWINDOW (CREATEW]
-					      ((WINDOWP W))
-					      (T (CREATEW W]
-	     [NRINGS (COND
-		       ((NUMBERP RINGS)
-			 RINGS)
-		       (T (LENGTH RINGS]
-	     (HORIZSPEED 21)
-	     (VERTSPEED 17)
-	     PEGS RINGBM TOPUPRINGBM RINGLARGEST TOPDOWNRINGBM PEGWIDTH BASEWIDTH RINGHEIGHT 
-	     MOVEMENTHEIGHT BASEHEIGHT PEGTOP RINGDISPLAYSTREAM HANOIWINDOW RINGDELTA UPRINGBM 
-	     HORIZRINGBM DOWNRINGBM (RDEST (DSPCREATE)))
-	    (DECLARE (SPECVARS . T))
-	    (PROG (IMAGEHEIGHT)
-		    (SETQ BASEWIDTH (IDIFFERENCE (fetch WIDTH of REGION)
-						     (ITIMES HANOIMARGIN 2)))
-		    (SETQ RINGLARGEST (IQUOTIENT BASEWIDTH 3))
-                                                             (* RINGDELTA is the difference in peg size on each 
-							     side.)
-		    (COND
-		      ([ZEROP (SETQ RINGDELTA (IQUOTIENT (IDIFFERENCE RINGLARGEST PEGMIN)
-							       (ADD1 (ITIMES NRINGS 2]
-			(HELP "Not enough width for a display.")))
+  [LAMBDA (RINGS W FONT ONCE)                                (* lmm " 3-Dec-85 12:51")
+                                                             (* runs hanoi in a region of a 
+                                                             displaystream)
+    (PROG ([REGION (DSPCLIPPINGREGION NIL (SETQ W (COND
+                                                     [(NULL W)
+                                                      (OR HANOIWINDOW (SETQ HANOIWINDOW (CREATEW]
+                                                     ((WINDOWP W))
+                                                     (T (CREATEW W]
+           [NRINGS (COND
+                      ((NUMBERP RINGS)
+                       RINGS)
+                      (T (LENGTH RINGS]
+           (HORIZSPEED 21)
+           (VERTSPEED 17)
+           PEGS RINGBM TOPUPRINGBM RINGLARGEST TOPDOWNRINGBM PEGWIDTH BASEWIDTH RINGHEIGHT 
+           MOVEMENTHEIGHT BASEHEIGHT PEGTOP RINGDISPLAYSTREAM HANOIWINDOW RINGDELTA UPRINGBM 
+           HORIZRINGBM DOWNRINGBM (RDEST (DSPCREATE)))
+          (DECLARE (SPECVARS . T))
+          (PROG (IMAGEHEIGHT)
+                (SETQ BASEWIDTH (IDIFFERENCE (fetch WIDTH of REGION)
+                                       (ITIMES HANOIMARGIN 2)))
+                (SETQ RINGLARGEST (IQUOTIENT BASEWIDTH 3))   (* RINGDELTA is the difference in peg 
+                                                             size on each side.)
+                (COND
+                   ([ZEROP (SETQ RINGDELTA (IQUOTIENT (IDIFFERENCE RINGLARGEST PEGMIN)
+                                                  (ADD1 (ITIMES NRINGS 2]
+                    (HELP "Not enough width for a display.")))
 
-          (* leave one ring width for base, one for top of peg and two above peg for movement. Doesn't really use two heights
-	  at top, only one plus VERTSPEED)
+         (* leave one ring width for base, one for top of peg and two above peg for 
+         movement. Doesn't really use two heights at top, only one plus VERTSPEED)
 
-
-		    (SETQ RINGHEIGHT (IQUOTIENT (SETQ IMAGEHEIGHT (IDIFFERENCE (fetch
-											 HEIGHT
-											  of REGION)
-										       (ITIMES
-											 HANOIMARGIN 
-											 2)))
-						    (IPLUS NRINGS 4)))
-		    (COND
-		      ((ZEROP RINGHEIGHT)
-			(HELP "Not enough height for display.")))
-		    (SETQ PEGWIDTH (IQUOTIENT (IDIFFERENCE RINGLARGEST (ITIMES RINGDELTA
-										       (SUB1 NRINGS)
-										       2))
-						  3))        (* put extra in base if it comes out closer to 
-							     pegwidth.)
-		    (COND
-		      [(IGREATERP PEGWIDTH RINGHEIGHT)
-			(SETQ BASEHEIGHT (IMIN PEGWIDTH (IPLUS RINGHEIGHT
-								     (IDIFFERENCE
-								       IMAGEHEIGHT
-								       (ITIMES (IPLUS NRINGS 4)
-										 RINGHEIGHT]
-		      (T (SETQ BASEHEIGHT RINGHEIGHT)))
-		    (SETQ MOVEMENTHEIGHT (IPLUS [SETQ PEGTOP (IPLUS HANOIMARGIN BASEHEIGHT
-									    (ITIMES RINGHEIGHT
-										      (ADD1 NRINGS]
-						    VERTSPEED))
-		    (DSPFONT FONT RDEST)
-		    (DSPFONT FONT W)
-		    (DSPOPERATION (QUOTE ERASE)
-				    RDEST)
-		    (DSPOPERATION (QUOTE ERASE)
-				    W))
-	    [PROG ((BASE (create REGION
-				     LEFT _ HANOIMARGIN
-				     BOTTOM _ HANOIMARGIN
-				     WIDTH _ BASEWIDTH
-				     HEIGHT _ BASEHEIGHT)))
-		    (SETQ PEGS (for PLEFT from (IPLUS HANOIMARGIN (IQUOTIENT (IDIFFERENCE
-											 RINGLARGEST 
-											 PEGWIDTH)
-										       2))
-				    by RINGLARGEST as I from 1 to 3
-				    collect (create PEG
-							PEGREGION _(create REGION
-									     LEFT _ PLEFT
-									     BOTTOM _(IPLUS 
-										       BASEHEIGHT 
-										      HANOIMARGIN)
-									     WIDTH _ PEGWIDTH
-									     HEIGHT _(ITIMES
-									       RINGHEIGHT
-									       (ADD1 NRINGS)))
-							RINGS _(LIST (create RING
-										 RINGREGION _ BASE
-										 RINGNUMBER _(QUOTE
-										   BASE]
-	    [PROG [(SOURCEPEG (PEGN 1))
-		     (RINGLABELS (COND
-				   ((LISTP RINGS)
-				     (REVERSE RINGS))
-				   (T                        (* collect n NILs as lables.)
-				      (for I from 1 to RINGS collect NIL]
-		    (for RINGBOTTOM from (IPLUS HANOIMARGIN BASEHEIGHT) by RINGHEIGHT
-		       as RINGLEFT from (IPLUS HANOIMARGIN (ITIMES RINGLARGEST (SUB1 1)))
-		       by RINGDELTA as I from 0 to (SUB1 NRINGS) as LABEL in RINGLABELS
-		       do (push (fetch RINGS of SOURCEPEG)
-				    (create RING
-					      RINGREGION _(create REGION
-								    LEFT _ RINGLEFT
-								    BOTTOM _ RINGBOTTOM
-								    WIDTH _(IDIFFERENCE
-								      RINGLARGEST
-								      (ITIMES I 2 RINGDELTA))
-								    HEIGHT _ RINGHEIGHT)
-					      RINGNUMBER _(ADD1 (IDIFFERENCE NRINGS I))
-					      RINGLABEL _ LABEL)))
-                                                             (* allocate bitmaps for ring movement)
-		    (SETQ HORIZRINGBM (BITMAPCREATE (IPLUS RINGLARGEST MAXHORIZSPEED)
-							RINGHEIGHT))
-		    (SETQ UPRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT MAXVERTSPEED)))
-		    (SETQ DOWNRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT MAXVERTSPEED)))
-		    (SETQ TOPUPRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT MAXVERTSPEED))
-		      )
-		    (SETQ TOPDOWNRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT 
-									       MAXVERTSPEED]
-	    (\CLEARBM W)
-	    (DISPLAYPEGSANDRINGS PEGS W)
-	    (bind (HERE _ 1)
-		    (THERE _ 3)
-	       do (DOHANOI NRINGS HERE THERE W)
-		    (COND
-		      (ONCE (RETURN)))
-		    (DISMISS 2000)
-		    (SETQ HERE (PROG1 THERE (SETQ THERE (FINDOTHER HERE THERE])
+                (SETQ RINGHEIGHT (IQUOTIENT (SETQ IMAGEHEIGHT (IDIFFERENCE (fetch HEIGHT of REGION)
+                                                                     (ITIMES HANOIMARGIN 2)))
+                                        (IPLUS NRINGS 4)))
+                (COND
+                   ((ZEROP RINGHEIGHT)
+                    (HELP "Not enough height for display.")))
+                (SETQ PEGWIDTH (IQUOTIENT (IDIFFERENCE RINGLARGEST (ITIMES RINGDELTA (SUB1 NRINGS)
+                                                                          2))
+                                      3))                    (* put extra in base if it comes out 
+                                                             closer to pegwidth.)
+                (COND
+                   [(IGREATERP PEGWIDTH RINGHEIGHT)
+                    (SETQ BASEHEIGHT (IMIN PEGWIDTH (IPLUS RINGHEIGHT (IDIFFERENCE
+                                                                       IMAGEHEIGHT
+                                                                       (ITIMES (IPLUS NRINGS 4)
+                                                                              RINGHEIGHT]
+                   (T (SETQ BASEHEIGHT RINGHEIGHT)))
+                (SETQ MOVEMENTHEIGHT (IPLUS [SETQ PEGTOP (IPLUS HANOIMARGIN BASEHEIGHT
+                                                                (ITIMES RINGHEIGHT (ADD1 NRINGS]
+                                            VERTSPEED))
+                (DSPFONT FONT RDEST)
+                (DSPFONT FONT W)
+                (DSPOPERATION 'ERASE RDEST)
+                (DSPOPERATION 'ERASE W))
+          [PROG ((BASE (create REGION
+                              LEFT _ HANOIMARGIN
+                              BOTTOM _ HANOIMARGIN
+                              WIDTH _ BASEWIDTH
+                              HEIGHT _ BASEHEIGHT)))
+                (SETQ PEGS (for PLEFT from (IPLUS HANOIMARGIN (IQUOTIENT (IDIFFERENCE RINGLARGEST 
+                                                                                PEGWIDTH)
+                                                                     2)) by RINGLARGEST as I
+                              from 1 to 3
+                              collect (create PEG
+                                             PEGREGION _ (create REGION
+                                                                LEFT _ PLEFT
+                                                                BOTTOM _ (IPLUS BASEHEIGHT 
+                                                                                HANOIMARGIN)
+                                                                WIDTH _ PEGWIDTH
+                                                                HEIGHT _ (ITIMES RINGHEIGHT
+                                                                                (ADD1 NRINGS)))
+                                             RINGS _ (LIST (create RING
+                                                                  RINGREGION _ BASE
+                                                                  RINGNUMBER _ 'BASE]
+          [PROG [(SOURCEPEG (PEGN 1))
+                 (RINGLABELS (COND
+                                ((LISTP RINGS)
+                                 (REVERSE RINGS))
+                                (T                           (* collect n NILs as lables.)
+                                   (for I from 1 to RINGS collect NIL]
+                (for RINGBOTTOM from (IPLUS HANOIMARGIN BASEHEIGHT) by RINGHEIGHT as RINGLEFT
+                   from (IPLUS HANOIMARGIN (ITIMES RINGLARGEST (SUB1 1))) by RINGDELTA as I
+                   from 0 to (SUB1 NRINGS) as LABEL in RINGLABELS
+                   do (push (fetch RINGS of SOURCEPEG)
+                            (create RING
+                                   RINGREGION _ (create REGION
+                                                       LEFT _ RINGLEFT
+                                                       BOTTOM _ RINGBOTTOM
+                                                       WIDTH _ (IDIFFERENCE RINGLARGEST
+                                                                      (ITIMES I 2 RINGDELTA))
+                                                       HEIGHT _ RINGHEIGHT)
+                                   RINGNUMBER _ (ADD1 (IDIFFERENCE NRINGS I))
+                                   RINGLABEL _ LABEL)))      (* allocate bitmaps for ring movement)
+                (SETQ HORIZRINGBM (BITMAPCREATE (IPLUS RINGLARGEST MAXHORIZSPEED)
+                                         RINGHEIGHT))
+                (SETQ UPRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT MAXVERTSPEED)))
+                (SETQ DOWNRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT MAXVERTSPEED)))
+                (SETQ TOPUPRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT MAXVERTSPEED)))
+                (SETQ TOPDOWNRINGBM (BITMAPCREATE RINGLARGEST (IPLUS RINGHEIGHT MAXVERTSPEED]
+          (\CLEARBM W)
+          (DISPLAYPEGSANDRINGS PEGS W)
+          (bind (HERE _ 1)
+                (THERE _ 3) do (DOHANOI NRINGS HERE THERE W)
+                               (COND
+                                  (ONCE (RETURN)))
+                               (DISMISS 2000)
+                               (SETQ HERE (PROG1 THERE
+                                              (SETQ THERE (FINDOTHER HERE THERE)))])
 
 (XHANOI
-  [LAMBDA NIL                                                (* lmm " 8-MAR-82 15:59")
-    (PROG ((EVENRINGSHADE XRINGSHADE)
-	   (ODDRINGSHADE ORINGSHADE)
-	   (PEGSHADE XPEGSHADE))
-          (WHANOI (QUOTE (X E R O X))
-		  (QUOTE (0 0 400 280))
-		  (FONTCREATE (QUOTE LOGO)
-			      24])
+  [LAMBDA NIL                                                (* lmm " 8-MAR-82 15:59")
+    (PROG ((EVENRINGSHADE XRINGSHADE)
+           (ODDRINGSHADE ORINGSHADE)
+           (PEGSHADE XPEGSHADE))
+          (WHANOI '(X E R O X)
+                 '(0 0 400 280)
+                 (FONTCREATE 'LOGO 24])
 )
 
 (RPAQQ HANOIWINDOW NIL)
-(DECLARE: DONTCOPY 
-[DECLARE: EVAL@COMPILE 
+(DECLARE%: DONTCOPY 
+(DECLARE%: EVAL@COMPILE
 
 (RECORD PEG (PEGREGION RINGS))
 
 (RECORD RING (RINGREGION RINGNUMBER RINGLABEL))
-]
+)
 
-(DECLARE: EVAL@COMPILE 
+(DECLARE%: EVAL@COMPILE 
 
 (RPAQQ XRINGSHADE 42405)
 
@@ -429,10 +396,11 @@
 
 (RPAQQ XPEGSHADE 65535)
 
+
 (CONSTANTS XRINGSHADE ORINGSHADE XPEGSHADE)
 )
 
-(DECLARE: EVAL@COMPILE 
+(DECLARE%: EVAL@COMPILE 
 
 (RPAQQ PEGMIN 2)
 
@@ -442,15 +410,18 @@
 
 (RPAQQ MAXHORIZSPEED 44)
 
+
 (CONSTANTS PEGMIN HANOIMARGIN (MAXVERTSPEED 30)
-	   (MAXHORIZSPEED 44))
+       (MAXHORIZSPEED 44))
 )
 
-(DECLARE: EVAL@COMPILE 
-[PUTPROPS PEGN MACRO ((N)
-	   (CAR (SELECTQ N (1 PEGS)
-			 (2 (CDR PEGS))
-			 (CDDR PEGS]
+(DECLARE%: EVAL@COMPILE 
+
+(PUTPROPS PEGN MACRO [(N)
+                      (CAR (SELECTQ N
+                               (1 PEGS)
+                               (2 (CDR PEGS))
+                               (CDDR PEGS])
 )
 )
 
@@ -461,17 +432,13 @@
 (RPAQQ PEGSHADE 65535)
 
 (ADDTOVAR IDLE.FUNCTIONS [Hanoi (FUNCTION (LAMBDA (W)
-						    (HANOI (UNPACK (QUOTE "Xerox AI Systems"))
-							   W
-							   (QUOTE (TIMESROMAND 36]
-			   [HanoiUsername (FUNCTION (LAMBDA (W)
-							    (HANOI (UNPACK (USERNAME NIL T T))
-								   W
-								   (QUOTE (TIMESROMAND 36])
+                                                 (HANOI (UNPACK "Interlisp.org")
+                                                        W
+                                                        '(TIMESROMAND 36])
 (PUTPROPS HANOI COPYRIGHT ("Xerox Corporation" 1982 1983 1984 1985 1986))
-(DECLARE: DONTCOPY
-  (FILEMAP (NIL (797 18810 (DISPLAYPEGSANDRINGS 807 . 1479) (DOHANOI 1481 . 1818) (FINDOTHER 1820 . 2022
-) (HANOI 2024 . 2167) (HANOIDEMO 2169 . 2861) (MOVEDIS 2863 . 8440) (MOVERING 8442 . 8994) (RINGSHADE 
-8996 . 9245) (SETUPRINGBITMAPS 9247 . 12568) (TRACK 12570 . 12983) (WHANOI 12985 . 18479) (XHANOI 
-18481 . 18808)))))
+(DECLARE%: DONTCOPY
+  (FILEMAP (NIL (920 20991 (DISPLAYPEGSANDRINGS 930 . 1875) (DOHANOI 1877 . 2288) (FINDOTHER 2290 . 2512
+) (HANOI 2514 . 2657) (HANOIDEMO 2659 . 3254) (MOVEDIS 3256 . 8151) (MOVERING 8153 . 8808) (RINGSHADE 
+8810 . 9049) (SETUPRINGBITMAPS 9051 . 12799) (TRACK 12801 . 13291) (WHANOI 13293 . 20670) (XHANOI 
+20672 . 20989)))))
 STOP
diff --git a/lispusers/HANOI.LCOM b/lispusers/HANOI.LCOM
index b7a34872..108adda3 100644
Binary files a/lispusers/HANOI.LCOM and b/lispusers/HANOI.LCOM differ
diff --git a/lispusers/IDLEHAX b/lispusers/IDLEHAX
index 7afd3120..a03d965e 100644
--- a/lispusers/IDLEHAX
+++ b/lispusers/IDLEHAX
@@ -1,12 +1,11 @@
 (DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
 
-(FILECREATED "26-Jun-2022 18:21:17" 
-{DSK}<Users>kaplan>Local>medley3.5>working-medley>lispusers>IDLEHAX.;4 26796  
+(FILECREATED "23-Aug-2022 08:50:16" {DSK}<home>larry>medley>lispusers>IDLEHAX.;3 31969  
 
-      :CHANGES-TO (FNS KAL.ADVANCE)
+      :CHANGES-TO (FNS KALDEMO IDLE-DRAIN LINES1 WARP CONNECTPOLYS BUBBLES IDLE-MELT IDLE-WINDOWS)
+                  (VARS POLYGONWAIT2)
 
-      :PREVIOUS-DATE " 9-Feb-2022 13:53:05" 
-{DSK}<Users>kaplan>Local>medley3.5>working-medley>lispusers>IDLEHAX.;3)
+      :PREVIOUS-DATE "21-Aug-2022 18:08:56" {DSK}<home>larry>medley>lispusers>IDLEHAX.;1)
 
 
 (* ; "
@@ -98,7 +97,7 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 )
 
 (CONNECTPOLYS
-  [LAMBDA (FROMS TOS NSTEPS W OPERATION)                     (* ; "Edited 12-Jan-2022 15:22 by larry")
+  [LAMBDA (FROMS TOS NSTEPS W OPERATION)                   (* ; "Edited 23-Aug-2022 08:10 by larry")
                                                              (* lmm "30-Jul-85 17:19")
     (PROG (DIFFS)
           (CLEARW W)
@@ -120,8 +119,8 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
                                                     (fetch YC of FPT)
                                                     (fetch XC of TPT)
                                                     (fetch YC of TPT)
-                                                    1 OPERATION W))
-          (DISMISS POLYGONWAIT2)
+                                                    1 OPERATION W)
+                                             (DISMISS POLYGONWAIT2))
           (CLEARW W)
           (for I from 1 to POLYGONSTEPS do (DISMISS POLYGONWAIT3)
                                            (LINES2 FROMS 1 W OPERATION)
@@ -148,7 +147,7 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 
 (RPAQ? POLYGONSWINDOW )
 
-(RPAQQ POLYGONWAIT2 250)
+(RPAQQ POLYGONWAIT2 25)
 
 (RPAQQ POLYGONMINPTS 3)
 
@@ -191,8 +190,67 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 (DEFINEQ
 
 (KALDEMO
-(LAMBDA (W PERIOD PERSISTENCE) (* lmm " 5-Aug-85 22:16") (OR PERIOD (SETQ PERIOD (RAND 8 128))) (OR PERSISTENCE (SETQ PERSISTENCE (LSH 1 (RAND 4 13)))) (SETQ W (DEMOWINDOW W)) (LET ((XSTATEB (create KALSTATE A _ 1 B _ -1849 C _ (RAND 2 4) PERIOD _ PERIOD PERIODCOUNT _ 1)) (XSTATEE (create KALSTATE)) (YSTATEB (create KALSTATE A _ 1 B _ -1809 C _ (RAND 0 20) PERIOD _ PERIOD PERIODCOUNT _ 1)) (YSTATEE (create KALSTATE)) (WINDOWSIDE (MIN (WINDOWPROP W (QUOTE HEIGHT)) (WINDOWPROP W (QUOTE WIDTH)))) (TIMER (SETUPTIMER 0 NIL (QUOTE TICKS))) (BLACK (NOT (VIDEOCOLOR))) XOFFSET) (SETQ XOFFSET (QUOTIENT (MAX (DIFFERENCE (WINDOWPROP W (QUOTE WIDTH)) WINDOWSIDE) 0) 2)) (SETQ XSTATEE (COPY XSTATEB)) (SETQ YSTATEE (COPY YSTATEB)) (from 1 to PERSISTENCE do (KAL.ADVANCE XSTATEB) (KAL.ADVANCE YSTATEB) (KAL.SPOTS (ffetch A of XSTATEB) (ffetch A of YSTATEB) WINDOWSIDE W BLACK XOFFSET) (PERIODIC.BLOCK TIMER)) (do (KAL.ADVANCE XSTATEE) (KAL.ADVANCE YSTATEE) (PROG ((X0 (LOGAND (LRSH (ffetch A of XSTATEE) 7) KAL.MASK)) (Y0 (LOGAND (LRSH (ffetch A of YSTATEE) 7) KAL.MASK)) X1 Y1) (COND ((ILESSP X0 Y0) (SETQ X1 (IDIFFERENCE (SUB1 WINDOWSIDE) X0)) (SETQ Y1 (IDIFFERENCE (SUB1 WINDOWSIDE) Y0)) (KAL.BMS W X0 Y0 X1 Y1 (if BLACK then 1 else 0) XOFFSET)))) (KAL.ADVANCE XSTATEB) (KAL.ADVANCE YSTATEB) (KAL.SPOTS (ffetch A of XSTATEB) (ffetch A of YSTATEB) WINDOWSIDE W BLACK XOFFSET) (PERIODIC.BLOCK TIMER))))
-)
+  [LAMBDA (W PERIOD PERSISTENCE)                             (* ; "Edited 23-Aug-2022 08:49 by lmm")
+                                                             (* lmm " 5-Aug-85 22:16")
+    (OR PERIOD (SETQ PERIOD (RAND 16 128)))
+    [OR PERSISTENCE (SETQ PERSISTENCE (LSH 1 (RAND 14 23]
+    (SETQ W (DEMOWINDOW W))
+    (LET ((XSTATEB (create KALSTATE
+                          A _ 1
+                          B _ -1849
+                          C _ (RAND 2 4)
+                          PERIOD _ PERIOD
+                          PERIODCOUNT _ 1))
+          (XSTATEE (create KALSTATE))
+          (YSTATEB (create KALSTATE
+                          A _ 1
+                          B _ -1809
+                          C _ (RAND 0 20)
+                          PERIOD _ PERIOD
+                          PERIODCOUNT _ 1))
+          (YSTATEE (create KALSTATE))
+          [WINDOWSIDE (MIN (WINDOWPROP W 'HEIGHT)
+                           (WINDOWPROP W 'WIDTH]
+          (TIMER (SETUPTIMER 0 NIL 'TICKS))
+          (BLACK (NOT (VIDEOCOLOR)))
+          XOFFSET)
+         (SETQ XOFFSET (QUOTIENT (MAX (DIFFERENCE (WINDOWPROP W 'WIDTH)
+                                             WINDOWSIDE)
+                                      0)
+                              2))
+         (SETQ XSTATEE (COPY XSTATEB))
+         (SETQ YSTATEE (COPY YSTATEB))
+         (from 1 to PERSISTENCE do (KAL.ADVANCE XSTATEB)
+                                   (KAL.ADVANCE YSTATEB)
+                                   (KAL.SPOTS (ffetch A of XSTATEB)
+                                          (ffetch A of YSTATEB)
+                                          WINDOWSIDE W BLACK XOFFSET)
+                                   (BLOCK 100 TIMER))
+         (do (KAL.ADVANCE XSTATEE)
+             (KAL.ADVANCE YSTATEE)
+             [PROG ((X0 (LOGAND (LRSH (ffetch A of XSTATEE)
+                                      7)
+                               KAL.MASK))
+                    (Y0 (LOGAND (LRSH (ffetch A of YSTATEE)
+                                      7)
+                               KAL.MASK))
+                    X1 Y1)
+                   (COND
+                      ((ILESSP X0 Y0)
+                       (SETQ X1 (IDIFFERENCE (SUB1 WINDOWSIDE)
+                                       X0))
+                       (SETQ Y1 (IDIFFERENCE (SUB1 WINDOWSIDE)
+                                       Y0))
+                       (KAL.BMS W X0 Y0 X1 Y1 (if BLACK
+                                                  then 1
+                                                else 0)
+                              XOFFSET]
+             (KAL.ADVANCE XSTATEB)
+             (KAL.ADVANCE YSTATEB)
+             (KAL.SPOTS (ffetch A of XSTATEB)
+                    (ffetch A of YSTATEB)
+                    WINDOWSIDE W BLACK XOFFSET)
+             (PERIODIC.BLOCK TIMER])
 
 (KAL.ADVANCE
   [LAMBDA (STATE)                                            (* ; "Edited 26-Jun-2022 18:20 by rmk")
@@ -231,8 +289,59 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 (DEFINEQ
 
 (BUBBLES
-(LAMBDA (W) (* lmm "30-Jul-85 20:35") (WINDOWPROP (SETQ W (DEMOWINDOW W)) (QUOTE RESHAPEFN) (FUNCTION (LAMBDA (W) (DSPFILL NIL (if (VIDEOCOLOR) then WHITESHADE else BLACKSHADE) (QUOTE REPLACE) W)))) (DSPFILL NIL (if (VIDEOCOLOR) then WHITESHADE else BLACKSHADE) (QUOTE REPLACE) W) (bind (ARRAY _ (ARRAY BUBBLECNT (QUOTE POINTER))) (I _ 1) CIRCLE eachtime (SETQ I (if (EQ I BUBBLECNT) then 1 else (ADD1 I))) do (* * first erase the circle at I in array) (SETQ CIRCLE (ELT ARRAY I)) (DSPOPERATION (if (VIDEOCOLOR) then (QUOTE ERASE) else (QUOTE PAINT)) W) (* there will be no circle at I the first time through) (AND CIRCLE (DRAWCIRCLE (CAR CIRCLE) (CADR CIRCLE) (CADDR CIRCLE) NIL NIL W)) (* * now put a new circle in array at I and draw it) (SETQ CIRCLE (SETA ARRAY I (BUBBLE.CREATE W))) (DSPOPERATION (QUOTE REPLACE) W) (* fill center w/ black so it ocludes ones under) (FILLCIRCLE (CAR CIRCLE) (CADR CIRCLE) (SUB1 (CADDR CIRCLE)) (if (VIDEOCOLOR) then WHITESHADE else BLACKSHADE) W) (DSPOPERATION (QUOTE INVERT) W) (DRAWCIRCLE (CAR CIRCLE) (CADR CIRCLE) (CADDR CIRCLE) NIL NIL W) (BLOCK)))
-)
+  [LAMBDA (W)                                              (* ; "Edited 23-Aug-2022 08:14 by larry")
+                                                             (* lmm "30-Jul-85 20:35")
+    [WINDOWPROP (SETQ W (DEMOWINDOW W))
+           'RESHAPEFN
+           (FUNCTION (LAMBDA (W)
+                       (DSPFILL NIL (if (VIDEOCOLOR)
+                                        then WHITESHADE
+                                      else BLACKSHADE)
+                              'REPLACE W]
+    (DSPFILL NIL (if (VIDEOCOLOR)
+                     then WHITESHADE
+                   else BLACKSHADE)
+           'REPLACE W)
+    (bind (ARRAY _ (ARRAY BUBBLECNT 'POINTER))
+          (I _ 1)
+          CIRCLE eachtime (SETQ I (if (EQ I BUBBLECNT)
+                                      then 1
+                                    else (ADD1 I))) do 
+
+         (* * first erase the circle at I in array)
+
+                                                       (SETQ CIRCLE (ELT ARRAY I))
+                                                       (DSPOPERATION (if (VIDEOCOLOR)
+                                                                         then 'ERASE
+                                                                       else 'PAINT)
+                                                              W) 
+                                                             (* there will be no circle at I the 
+                                                             first time through)
+                                                       (AND CIRCLE (DRAWCIRCLE (CAR CIRCLE)
+                                                                          (CADR CIRCLE)
+                                                                          (CADDR CIRCLE)
+                                                                          NIL NIL W)) 
+
+         (* * now put a new circle in array at I and draw it)
+
+                                                       (SETQ CIRCLE (SETA ARRAY I (BUBBLE.CREATE
+                                                                                   W)))
+                                                       (DSPOPERATION 'REPLACE W) 
+                                                             (* fill center w/ black so it ocludes 
+                                                             ones under)
+                                                       (FILLCIRCLE (CAR CIRCLE)
+                                                              (CADR CIRCLE)
+                                                              (SUB1 (CADDR CIRCLE))
+                                                              (if (VIDEOCOLOR)
+                                                                  then WHITESHADE
+                                                                else BLACKSHADE)
+                                                              W)
+                                                       (DSPOPERATION 'INVERT W)
+                                                       (DRAWCIRCLE (CAR CIRCLE)
+                                                              (CADR CIRCLE)
+                                                              (CADDR CIRCLE)
+                                                              NIL NIL W)
+                                                       (BLOCK 100])
 
 (BUBBLE.CREATE
 (LAMBDA (W) (* drc%: "29-Jul-85 13:51") (LET* ((REGION (WINDOWPROP W (QUOTE REGION))) (WIDTH (SUB1 (fetch WIDTH of REGION))) (HEIGHT (SUB1 (fetch HEIGHT of REGION))) (CENTERX (RAND 1 (SUB1 WIDTH))) (CENTERY (RAND 1 (SUB1 HEIGHT)))) (LIST CENTERX CENTERY (RAND 1 (IMIN (IDIFFERENCE WIDTH CENTERX) CENTERX (IDIFFERENCE HEIGHT CENTERY) CENTERY)))))
@@ -243,8 +352,32 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 (DEFINEQ
 
 (IDLE-WINDOWS
-(LAMBDA (W DELAY) (* lmm " 7-Jun-86 22:21") (SETQ W (DEMOWINDOW W)) (PROG ((D (WINDOWPROP W (QUOTE WIDTH))) (H (WINDOWPROP W (QUOTE HEIGHT))) (TIMER (SETUPTIMER 0 NIL (QUOTE TICKS)))) (LET ((TITLE (WINDOWPROP (CREATEW (LIST 0 0 D (HEIGHTIFWINDOW 0 T)) "Yet another window" NIL T) (QUOTE IMAGECOVERED)))) (while T do (PROG ((X (RAND 0 (- D (+ 2 2 100)))) (Y (RAND 0 (- H 8 100)))) (PROG ((D0 (MAX 100 (RAND 100 (- D X)))) (H0 (MAX 100 (RAND 100 (- H Y))))) (BITBLT NIL NIL NIL W X Y D0 2 (QUOTE TEXTURE) (QUOTE REPLACE) BLACKSHADE) (BITBLT NIL NIL NIL W X Y 2 H0 (QUOTE TEXTURE) (QUOTE REPLACE) BLACKSHADE) (BITBLT NIL NIL NIL W (+ X (- D0 2)) Y 2 H0 (QUOTE TEXTURE) (QUOTE REPLACE) BLACKSHADE) (BITBLT TITLE NIL (+ WBorder (QUOTIENT WBorder 2)) W X (+ Y H0) D0 NIL NIL (QUOTE REPLACE)) (BITBLT NIL NIL NIL W (+ X 2) (+ Y 2) (- D0 (+ 2 2)) (- H0 2) (QUOTE TEXTURE) (QUOTE ERASE) BLACKSHADE))) (if DELAY then (BLOCK DELAY) else (PERIODIC.BLOCK TIMER))))))
-)
+  [LAMBDA (W DELAY)                                          (* ; "Edited 23-Aug-2022 08:35 by lmm")
+                                                             (* lmm " 7-Jun-86 22:21")
+    (SETQ W (DEMOWINDOW W))
+    (PROG [(D (WINDOWPROP W 'WIDTH))
+           (H (WINDOWPROP W 'HEIGHT]
+          (LET [(TITLE (WINDOWPROP (CREATEW (LIST 0 0 D (HEIGHTIFWINDOW 0 T))
+                                          "Yet another window" NIL T)
+                              'IMAGECOVERED]
+               (while T do (PROG [[X (RAND 0 (- D (+ 2 2 100]
+                                  (Y (RAND 0 (- H 8 100]
+                                 (PROG [[D0 (MAX 100 (RAND 100 (- D X]
+                                        (H0 (MAX 100 (RAND 100 (- H Y]
+                                       (BITBLT NIL NIL NIL W X Y D0 2 'TEXTURE 'REPLACE BLACKSHADE)
+                                       (BITBLT NIL NIL NIL W X Y 2 H0 'TEXTURE 'REPLACE BLACKSHADE)
+                                       (BITBLT NIL NIL NIL W (+ X (- D0 2))
+                                              Y 2 H0 'TEXTURE 'REPLACE BLACKSHADE)
+                                       (BITBLT TITLE NIL (+ WBorder (QUOTIENT WBorder 2))
+                                              W X (+ Y H0)
+                                              D0 NIL NIL 'REPLACE)
+                                       (BITBLT NIL NIL NIL W (+ X 2)
+                                              (+ Y 2)
+                                              (- D0 (+ 2 2))
+                                              (- H0 2)
+                                              'TEXTURE
+                                              'ERASE BLACKSHADE)))
+                           (BLOCK (OR DELAY 500])
 )
 
 
@@ -258,8 +391,18 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 )
 
 (LINES1
-(LAMBDA (ENDPOINTS LINES DSP) (* lmm "30-Jul-85 17:33") (PROG (PTS) (COND ((SETQ PTS (CAR LINES)) (* ERASE OLD) (LINES3 (CAR LINES) 1 DSP (QUOTE INVERT) ENDPOINTS)) (T (RPLACA LINES (SETQ PTS (in ENDPOINTS collect (create NPOINT)))) (LINES2 ENDPOINTS 1 DSP (QUOTE INVERT)))) (for PT in PTS as EP in ENDPOINTS do (replace XC of PT with (fetch XC of EP)) (replace YC of PT with (fetch YC of EP)))))
-)
+  [LAMBDA (ENDPOINTS LINES DSP)                            (* ; "Edited 23-Aug-2022 07:59 by larry")
+                                                             (* lmm "30-Jul-85 17:33")
+    (PROG (PTS)
+          [COND
+             ((SETQ PTS (CAR LINES))                         (* ERASE OLD)
+              (LINES3 (CAR LINES)
+                     1 DSP 'INVERT ENDPOINTS))
+             (T [RPLACA LINES (SETQ PTS (in ENDPOINTS collect (create NPOINT]
+                (LINES2 ENDPOINTS 1 DSP 'INVERT]
+          (BLOCK 75)
+          (for PT in PTS as EP in ENDPOINTS do (replace XC of PT with (fetch XC of EP))
+                                               (replace YC of PT with (fetch YC of EP])
 
 (LINES2
 (LAMBDA (ENDPOINTS WIDTH WINDOW OPERATION) (* lmm "30-Jul-85 17:14") (for (X _ ENDPOINTS) while (OR (CDR X) (if (CDDR ENDPOINTS) then X)) do (DRAWLINE (fetch XC (CAR X)) (fetch YC (CAR X)) (fetch XC (CAR (OR (SETQ X (CDR X)) ENDPOINTS))) (fetch YC (CAR (OR X ENDPOINTS))) WIDTH OPERATION WINDOW)))
@@ -283,8 +426,20 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 )
 
 (WARP
-(LAMBDA (W) (* hdj " 1-Apr-86 14:22") (do (CLEARW W) (LET ((OLDOP (DSPOPERATION (QUOTE INVERT) W))) (LET ((WIDTH (WINDOWPROP W (QUOTE WIDTH))) (HEIGHT (WINDOWPROP W (QUOTE HEIGHT)))) (LET ((CENTERX (RAND 0 WIDTH)) (CENTERY (RAND 0 HEIGHT))) (for RADIUS from (RAND 5 250) to 5 by -2 do (FILLCIRCLE (PLUS CENTERX (RAND 0 2)) (PLUS CENTERY (RAND 0 2)) RADIUS BLACKSHADE W) (BLOCK)))) (DSPOPERATION OLDOP W))))
-)
+  [LAMBDA (W)                                              (* ; "Edited 23-Aug-2022 08:01 by larry")
+                                                             (* hdj " 1-Apr-86 14:22")
+    (do (CLEARW W)
+        (LET ((OLDOP (DSPOPERATION 'INVERT W)))
+             [LET [(WIDTH (WINDOWPROP W 'WIDTH))
+                   (HEIGHT (WINDOWPROP W 'HEIGHT]
+                  (LET ((CENTERX (RAND 0 WIDTH))
+                        (CENTERY (RAND 0 HEIGHT)))
+                       (for RADIUS from (RAND 5 250) to 5 by -2
+                          do (FILLCIRCLE (PLUS CENTERX (RAND 0 2))
+                                    (PLUS CENTERY (RAND 0 2))
+                                    RADIUS BLACKSHADE W)
+                             (BLOCK 75]
+             (DSPOPERATION OLDOP W])
 )
 
 
@@ -294,7 +449,8 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 (DEFINEQ
 
 (IDLE-MELT
-  [LAMBDA (WINDOW SIZE INITIAL PATH)                  (* ; "Edited 10-Jun-88 17:15 by MASINTER")
+  [LAMBDA (WINDOW SIZE INITIAL PATH)                       (* ; "Edited 23-Aug-2022 08:20 by larry")
+                                                          (* ; "Edited 10-Jun-88 17:15 by MASINTER")
     (OR SIZE (SETQ SIZE MELT-BLOCK-SIZE))
     (SETQ WINDOW (DEMOWINDOW WINDOW))
     (PROG ((W (WINDOWPROP WINDOW 'WIDTH))
@@ -307,37 +463,34 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
           [SETQ BM (OR (CAR TAIL)
                        (WINDOWPROP WINDOW 'IMAGECOVERED]
           (for BITMAP inside BM do (BITBLT (SETQ BITMAP (if (BITMAPP BITMAP)
-                                                                        then BITMAP
-                                                                      elseif (CL:SYMBOLP BITMAP)
-                                                                        then (CAR (READBRUSHFILE
-                                                                                       BITMAP))
-                                                                      else (IDLE.BITMAP NIL 
-                                                                                      BITMAP)))
-                                                      NIL NIL WINDOW (RAND 0 (- W (BITMAPWIDTH BITMAP
-                                                                                         )))
-                                                      (RAND 0 (- H (BITMAPHEIGHT BITMAP)))
-                                                      NIL NIL (if (VIDEOCOLOR)
-                                                                  then NIL
-                                                                else 'INVERT)
-                                                      'REPLACE))
+                                                            then BITMAP
+                                                          elseif (CL:SYMBOLP BITMAP)
+                                                            then (CAR (READBRUSHFILE BITMAP))
+                                                          else (IDLE.BITMAP NIL BITMAP)))
+                                          NIL NIL WINDOW (RAND 0 (- W (BITMAPWIDTH BITMAP)))
+                                          (RAND 0 (- H (BITMAPHEIGHT BITMAP)))
+                                          NIL NIL (if (VIDEOCOLOR)
+                                                      then NIL
+                                                    else 'INVERT)
+                                          'REPLACE))
           (if INITIAL
               then [SETQ TIMER (AND (CADR TAIL)
-                                        (SETUPTIMER (CADR TAIL)
-                                               TIMER
-                                               'SECONDS
-                                               'SECONDS]
-                    (SETQ TAIL (OR (CDDR TAIL)
-                                   INITIAL)))
+                                    (SETUPTIMER (CADR TAIL)
+                                           TIMER
+                                           'SECONDS
+                                           'SECONDS]
+                   (SETQ TAIL (OR (CDDR TAIL)
+                                  INITIAL)))
           [do (LET [(X (RAND 0 (- W SIZE)))
-                        (Y (RAND 0 (- H SIZE]
-                       (BITBLT WINDOW X Y WINDOW (+ X (RAND -1 1))
-                              (+ Y (RAND -1 1))
-                              SIZE SIZE NIL 'REPLACE))
-                 (BLOCK) repeatuntil (AND TIMER (TIMEREXPIRED? TIMER 'SECONDS]
+                    (Y (RAND 0 (- H SIZE]
+                   (BITBLT WINDOW X Y WINDOW (+ X (RAND -1 1))
+                          (+ Y (RAND -1 1))
+                          SIZE SIZE NIL 'REPLACE))
+              (BLOCK 100) repeatuntil (AND TIMER (TIMEREXPIRED? TIMER 'SECONDS]
           (GO REPAINT])
 
 (IDLE-SLIDE
-  [LAMBDA (W SIZE SPEED COUNT SOURCE)                 (* ; "Edited 10-Jun-88 17:12 by MASINTER")
+  [LAMBDA (W SIZE SPEED COUNT SOURCE)                     (* ; "Edited 10-Jun-88 17:12 by MASINTER")
     (OR SIZE (SETQ SIZE 128))
     (OR COUNT (SETQ COUNT 120))
     (OR SPEED (SETQ SPEED 2))
@@ -354,28 +507,28 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
                X Y DX DY (CNT 1)
                DDX DDY (TIMER (SETUPTIMER 0 NIL 'TICKS]
               (do (COND
-                         ((OR (EQ (add CNT -1)
-                                  0)
-                              (< X 0)
-                              (> X XMAX)
-                              (< Y 0)
-                              (> Y YMAX))
-                          (SETQ X (RAND 0 XMAX))
-                          (SETQ Y (RAND 0 YMAX))
-                          (SETQ DX (RAND (- SPEED)
-                                         SPEED))
-                          (SETQ DY (RAND (- SPEED)
-                                         SPEED))
-                          (BITBLT SOURCE X Y W X Y SIZE SIZE NIL 'REPLACE)
-                          (SETQ DDX DY)
-                          (SETQ DDY DX)
-                          (SETQ CNT COUNT)))
-                     (BITBLT W X Y W (+ X DDX)
-                            (+ Y DDY)
-                            SIZE SIZE NIL 'REPLACE)
-                     (add X DX)
-                     (add Y DY)
-                     (PERIODIC.BLOCK TIMER])
+                     ((OR (EQ (add CNT -1)
+                              0)
+                          (< X 0)
+                          (> X XMAX)
+                          (< Y 0)
+                          (> Y YMAX))
+                      (SETQ X (RAND 0 XMAX))
+                      (SETQ Y (RAND 0 YMAX))
+                      (SETQ DX (RAND (- SPEED)
+                                     SPEED))
+                      (SETQ DY (RAND (- SPEED)
+                                     SPEED))
+                      (BITBLT SOURCE X Y W X Y SIZE SIZE NIL 'REPLACE)
+                      (SETQ DDX DY)
+                      (SETQ DDY DX)
+                      (SETQ CNT COUNT)))
+                  (BITBLT W X Y W (+ X DDX)
+                         (+ Y DDY)
+                         SIZE SIZE NIL 'REPLACE)
+                  (add X DX)
+                  (add Y DY)
+                  (PERIODIC.BLOCK TIMER])
 )
 
 (RPAQQ MELT-BLOCK-SIZE 32)
@@ -399,17 +552,16 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 )
 (DECLARE%: EVAL@COMPILE 
 
-(PUTPROPS PERIODIC.BLOCK MACRO [(TIMER)
-                                (if (TIMEREXPIRED? TIMER 'TICKS)
-                                    then (BLOCK)
-                                         (SETQ TIMER (SETUPTIMER 100 TIMER 'TICKS 'MILLISECONDS])
+(PUTPROPS PERIODIC.BLOCK MACRO ((TIMER)
+                                (BLOCK 100 TIMER)))
 )
 
 (ADDTOVAR IDLE.FUNCTIONS ("Drain" 'IDLE-DRAIN))
 (DEFINEQ
 
 (IDLE-DRAIN
-  [LAMBDA (WINDOW)                                           (* hdj "28-May-86 11:52")
+  [LAMBDA (WINDOW)                                         (* ; "Edited 23-Aug-2022 07:52 by larry")
+                                                             (* hdj "28-May-86 11:52")
     (do (BITBLT (WINDOWPROP WINDOW 'IMAGECOVERED)
                NIL NIL WINDOW NIL NIL NIL NIL 'INVERT 'REPLACE)
         (LET* ((WIDTH (WINDOWPROP WINDOW 'WIDTH))
@@ -417,7 +569,7 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
                (HALF-WIDTH (IQUOTIENT WIDTH 2))
                (HALF-HEIGHT (IQUOTIENT HEIGHT 2)))
               (for EDGE from 0 to (MIN HALF-WIDTH HALF-HEIGHT)
-                 do (BLOCK)
+                 do (BLOCK 100)
                     (BITBLT WINDOW EDGE 0 WINDOW (PLUS 1 EDGE)
                            0
                            (- HALF-WIDTH EDGE)
@@ -480,12 +632,12 @@ Copyright (c) 1985-1988, 1991, 2022 by Xerox Corporation.
 (ADDTOVAR IDLE.FUNCTIONS ("Swap" 'IDLE-SWAP))
 (PUTPROPS IDLEHAX COPYRIGHT ("Xerox Corporation" 1985 1986 1987 1988 1991 2022))
 (DECLARE%: DONTCOPY
-  (FILEMAP (NIL (3812 7852 (POLYGONSDEMO 3822 . 3992) (POLYGONS 3994 . 4358) (CONNECTPOLYS 4360 . 6758) 
-(DRAWPOLY1 6760 . 7397) (RANDOMPT 7399 . 7850)) (8489 12004 (KALDEMO 8499 . 9910) (KAL.ADVANCE 9912 . 
-10846) (KAL.SPOTS 10848 . 11189) (KAL.BMS 11191 . 11678) (KAL.ORAND 11680 . 12002)) (12041 13527 (
-BUBBLES 12051 . 13157) (BUBBLE.CREATE 13159 . 13525)) (13554 14539 (IDLE-WINDOWS 13564 . 14537)) (
-14574 16845 (LINES 14584 . 15643) (LINES1 15645 . 16055) (LINES2 16057 . 16368) (LINES3 16370 . 16843)
-) (16905 18118 (WALKINGSPOKE 16915 . 17696) (WARP 17698 . 18116)) (18143 22426 (IDLE-MELT 18153 . 
-20669) (IDLE-SLIDE 20671 . 22424)) (22597 22843 (DEMOWINDOW 22607 . 22841)) (23255 25128 (IDLE-DRAIN 
-23265 . 25126)) (25160 26641 (IDLE-SWAP 25170 . 26639)))))
+  (FILEMAP (NIL (3859 7936 (POLYGONSDEMO 3869 . 4039) (POLYGONS 4041 . 4405) (CONNECTPOLYS 4407 . 6842) 
+(DRAWPOLY1 6844 . 7481) (RANDOMPT 7483 . 7934)) (8572 13651 (KALDEMO 8582 . 11557) (KAL.ADVANCE 11559
+ . 12493) (KAL.SPOTS 12495 . 12836) (KAL.BMS 12838 . 13325) (KAL.ORAND 13327 . 13649)) (13688 17534 (
+BUBBLES 13698 . 17164) (BUBBLE.CREATE 17166 . 17532)) (17561 19344 (IDLE-WINDOWS 17571 . 19342)) (
+19379 22047 (LINES 19389 . 20448) (LINES1 20450 . 21257) (LINES2 21259 . 21570) (LINES3 21572 . 22045)
+) (22107 23728 (WALKINGSPOKE 22117 . 22898) (WARP 22900 . 23726)) (23753 27654 (IDLE-MELT 23763 . 
+25975) (IDLE-SLIDE 25977 . 27652)) (27825 28071 (DEMOWINDOW 27835 . 28069)) (28315 30301 (IDLE-DRAIN 
+28325 . 30299)) (30333 31814 (IDLE-SWAP 30343 . 31812)))))
 STOP
diff --git a/lispusers/IDLEHAX.LCOM b/lispusers/IDLEHAX.LCOM
index fa3f4b92..5f8417a6 100644
Binary files a/lispusers/IDLEHAX.LCOM and b/lispusers/IDLEHAX.LCOM differ
diff --git a/sources/DMISC b/sources/DMISC
index ebf93839..120e0b22 100644
--- a/sources/DMISC
+++ b/sources/DMISC
@@ -1,11 +1,10 @@
 (DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
 
-(FILECREATED " 6-Jan-2022 19:08:15" {DSK}<Users>kaplan>Local>medley3.5>my-medley>sources>DMISC.;3 45512  
+(FILECREATED "20-Aug-2022 14:26:31" {DSK}<home>larry>medley>sources>DMISC.;2 45041  
 
-      :CHANGES-TO (FNS FLASHWINDOW)
+      :CHANGES-TO (FNS \SAVEVMBACKGROUND)
 
-      :PREVIOUS-DATE "16-May-90 15:53:57" 
-{DSK}<Users>kaplan>Local>medley3.5>my-medley>sources>DMISC.;1)
+      :PREVIOUS-DATE " 6-Jan-2022 19:08:15" {DSK}<home>larry>medley>sources>DMISC.;1)
 
 
 (* ; "
@@ -135,21 +134,12 @@ with the terms of said license.
         (SETQ BACKGROUNDPAGECNT BACKGROUNDPAGEFREQ])
 
 (\SAVEVMBACKGROUND
-  [LAMBDA NIL                                                (* bvm%: "14-Feb-85 23:27")
+  [LAMBDA NIL                                                (* ; "Edited 20-Aug-2022 13:29 by lmm")
+                                                             (* bvm%: "14-Feb-85 23:27")
     (COND
-       ((AND (ILESSP \DIRTYPAGEHINT SAVEVMMAX)
-             (NEQ (fetch (IFPAGE Key) of \InterfacePage)
-                  \IFPValidKey)
-             (FIXP SAVEVMWAIT)
+       ((AND (FIXP SAVEVMWAIT)
              (\SECONDSCLOCKGREATERP \LASTUSERACTION SAVEVMWAIT))
-        (COND
-           ((AND (ILESSP (SETQ \DIRTYPAGEHINT (\COUNTREALPAGES 'DIRTY))
-                        SAVEVMMAX)
-                 (\FLUSHVMOK? 'SAVEVM T))         (* ; 
-                                                  "Recalculate the hint before deciding it's okay")
-            (RESETLST (AND SAVINGCURSOR (GETD 'CURSOR)
-                           (RESETSAVE (CURSOR SAVINGCURSOR)))
-                   (SAVEVM])
+        (SAVEVM])
 
 (COPYVM
   [LAMBDA (FILE)                                             (* bvm%: "12-Jan-84 12:07")
@@ -951,22 +941,22 @@ with the terms of said license.
 (PUTPROPS DMISC COPYRIGHT ("Venue & Xerox Corporation" T 1982 1983 1984 1985 1986 1987 1988 1989 1990)
 )
 (DECLARE%: DONTCOPY
-  (FILEMAP (NIL (4747 5450 (BACKSPACEDEL 4757 . 5448)) (5545 5978 (PERIODICALLYRECLAIM 5555 . 5976)) (
-6208 7899 (\DIRTYBACKGROUND 6218 . 6640) (\SAVEVMBACKGROUND 6642 . 7426) (COPYVM 7428 . 7897)) (8320 
-9519 (SETTIME 8330 . 9517)) (9520 13551 (RINGBELLS 9530 . 10023) (FLASHWINDOW 10025 . 11953) (PLAYTUNE
- 11955 . 13549)) (13813 19345 (DISPLAYDOWN 13823 . 14211) (SETDISPLAYHEIGHT 14213 . 17013) (VIDEORATE 
-17015 . 19343)) (19769 20490 (DOAROUNDEXITFORMS 19779 . 20488)) (20693 22408 (REALMEMORYSIZE 20703 . 
-20861) (LISPVERSION 20863 . 21016) (MICROCODEVERSION 21018 . 21176) (BCPLVERSION 21178 . 21331) (
-REQUIREVERSION 21333 . 22406)) (22445 27023 (APROPOS 22455 . 26471) (APROPRINT 26473 . 27021)) (27049 
-30957 (READPRINTERPORT 27059 . 27200) (WRITEPRINTERPORT 27202 . 27357) (\READPRINTERPORT.UFN 27359 . 
-27548) (\WRITEPRINTERPORT.UFN 27550 . 27748) (\MISC1.UFN 27750 . 27903) (\MISC2.UFN 27905 . 28143) (
-\MISC3.UFN 28145 . 28878) (\MISC4.UFN 28880 . 29430) (\MISC5.UFN 29432 . 29585) (\MISC6.UFN 29587 . 
-29837) (\MISC7.UFN 29839 . 30324) (\MISC8.UFN 30326 . 30627) (\MISC10.UFN 30629 . 30955)) (31011 38460
- (\BLKFDIFF.UFN 31021 . 31586) (\BLKFPLUS.UFN 31588 . 32160) (\BLKFTIMES.UFN 32162 . 32737) (
-\BLKSEP.UFN 32739 . 33870) (\BLKPERM.UFN 33872 . 34341) (\BLKEXPONENT.UFN 34343 . 34753) (
-\BLKFLOATP2COMP.UFN 34755 . 35339) (\BLKSMALLP2FLOAT.UFN 35341 . 35700) (\BLKMAG.UFN 35702 . 36353) (
-\FLOATTOBYTE.UFN 36355 . 36934) (\BLKFMAX.UFN 36936 . 37328) (\BLKFMIN.UFN 37330 . 37719) (
-\BLKFABSMAX.UFN 37721 . 38090) (\BLKFABSMIN.UFN 38092 . 38458)) (38500 40318 (\P-MISC2.UFN 38510 . 
-38751) (\LINES-EQUAL-P 38753 . 39137) (\GET-NEXT-RUN 39139 . 40316)) (40319 44498 (IBLT1 40329 . 42331
-) (IBLT2 42333 . 44496)))))
+  (FILEMAP (NIL (4712 5415 (BACKSPACEDEL 4722 . 5413)) (5510 5943 (PERIODICALLYRECLAIM 5520 . 5941)) (
+6173 7428 (\DIRTYBACKGROUND 6183 . 6605) (\SAVEVMBACKGROUND 6607 . 6955) (COPYVM 6957 . 7426)) (7849 
+9048 (SETTIME 7859 . 9046)) (9049 13080 (RINGBELLS 9059 . 9552) (FLASHWINDOW 9554 . 11482) (PLAYTUNE 
+11484 . 13078)) (13342 18874 (DISPLAYDOWN 13352 . 13740) (SETDISPLAYHEIGHT 13742 . 16542) (VIDEORATE 
+16544 . 18872)) (19298 20019 (DOAROUNDEXITFORMS 19308 . 20017)) (20222 21937 (REALMEMORYSIZE 20232 . 
+20390) (LISPVERSION 20392 . 20545) (MICROCODEVERSION 20547 . 20705) (BCPLVERSION 20707 . 20860) (
+REQUIREVERSION 20862 . 21935)) (21974 26552 (APROPOS 21984 . 26000) (APROPRINT 26002 . 26550)) (26578 
+30486 (READPRINTERPORT 26588 . 26729) (WRITEPRINTERPORT 26731 . 26886) (\READPRINTERPORT.UFN 26888 . 
+27077) (\WRITEPRINTERPORT.UFN 27079 . 27277) (\MISC1.UFN 27279 . 27432) (\MISC2.UFN 27434 . 27672) (
+\MISC3.UFN 27674 . 28407) (\MISC4.UFN 28409 . 28959) (\MISC5.UFN 28961 . 29114) (\MISC6.UFN 29116 . 
+29366) (\MISC7.UFN 29368 . 29853) (\MISC8.UFN 29855 . 30156) (\MISC10.UFN 30158 . 30484)) (30540 37989
+ (\BLKFDIFF.UFN 30550 . 31115) (\BLKFPLUS.UFN 31117 . 31689) (\BLKFTIMES.UFN 31691 . 32266) (
+\BLKSEP.UFN 32268 . 33399) (\BLKPERM.UFN 33401 . 33870) (\BLKEXPONENT.UFN 33872 . 34282) (
+\BLKFLOATP2COMP.UFN 34284 . 34868) (\BLKSMALLP2FLOAT.UFN 34870 . 35229) (\BLKMAG.UFN 35231 . 35882) (
+\FLOATTOBYTE.UFN 35884 . 36463) (\BLKFMAX.UFN 36465 . 36857) (\BLKFMIN.UFN 36859 . 37248) (
+\BLKFABSMAX.UFN 37250 . 37619) (\BLKFABSMIN.UFN 37621 . 37987)) (38029 39847 (\P-MISC2.UFN 38039 . 
+38280) (\LINES-EQUAL-P 38282 . 38666) (\GET-NEXT-RUN 38668 . 39845)) (39848 44027 (IBLT1 39858 . 41860
+) (IBLT2 41862 . 44025)))))
 STOP
diff --git a/sources/DMISC.LCOM b/sources/DMISC.LCOM
index dc279688..735217f9 100644
Binary files a/sources/DMISC.LCOM and b/sources/DMISC.LCOM differ
diff --git a/sources/IDLER b/sources/IDLER
index 7ff312e7..28b77a71 100644
--- a/sources/IDLER
+++ b/sources/IDLER
@@ -1,14 +1,14 @@
 (DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
-(FILECREATED "23-Mar-92 13:38:29" |{PELE:MV:ENVOS}<LISPCORE>SOURCES>IDLER.;3| 39952  
 
-      changes to%:  (VARS IDLERCOMS)
-                    (FNS \IDLERKEYACTION)
+(FILECREATED "24-Aug-2022 07:12:58" {DSK}<home>larry>medley>sources>IDLER.;3 43139  
 
-      previous date%: "16-May-90 18:17:31" |{PELE:MV:ENVOS}<LISPCORE>SOURCES>IDLER.;2|)
+      :CHANGES-TO (FNS \IDLER)
+
+      :PREVIOUS-DATE "22-Aug-2022 22:01:00" {DSK}<home>larry>medley>sources>IDLER.;1)
 
 
 (* ; "
-Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990, 1992 by Venue & Xerox Corporation.  All rights reserved.
+Copyright (c) 1985-1990, 1992, 2022 by Venue & Xerox Corporation.
 ")
 
 (PRETTYCOMPRINT IDLERCOMS)
@@ -24,15 +24,13 @@ Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990, 1992 by Venue & Xerox Corporat
               \IDLERKEYACTION)
          (INITVARS (IDLE.PROFILE '(TIMEOUT 0))
                                                              (* ; 
-                                                "so that it doesn't start idling during the loadup")
+                                                  "so that it doesn't start idling during the loadup")
                 (\IDLING)
                 (CH.DEFAULT.DOMAIN)
                 (DEFAULTREGISTRY)
                 (IDLE.KEYACTIONTABLE))
          (ADDVARS (SYSTEMINITVARS (IDLE.PROFILE ALLOWED.LOGINS NIL FORGET NIL TIMEOUT 0 DISPLAYFN 
-                                         IDLE.BOUNCING.BOX SAVEVM 10 AUTHENTICATE T LOGIN.TIMEOUT 30)
-                         )
-                                                             (* ; "the real default")
+                                         IDLE.RANDOM SAVEVM 10))
                 (IDLE.SUSPEND.PROCESS.NAMES MOUSE)
                 (IDLE.RESETVARS (PUPTRACEFLG NIL)
                        (XIPTRACEFLG NIL)))
@@ -109,12 +107,10 @@ Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990, 1992 by Venue & Xerox Corporat
         (COMS 
               (* ;; "Default idle display")
 
-              (FNS IDLE.BOUNCING.BOX IDLE.BITMAP)
+              (FNS IDLE.BOUNCING.BOX IDLE.BITMAP IDLE.RANDOM)
               [INITVARS (IDLE.BOUNCING.BOX (BITMAPCOPY LOGOBITMAP))
                      (IDLE.FUNCTIONS '(("Bouncing Box" 'IDLE.BOUNCING.BOX)
-                                       ("Bouncing Username" '(LAMBDA (W)
-                                                                    (IDLE.BOUNCING.BOX W
-                                                                           (USERNAME NIL NIL T]
+                                       (Random 'IDLE.RANDOM]
               (GLOBALVARS IDLE.FUNCTIONS IDLE.BOUNCING.BOX))))
 
 
@@ -238,8 +234,149 @@ Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990, 1992 by Venue & Xerox Corporat
             (T (TERPRI PROMPTWINDOW])
 
 (\IDLER
-(LAMBDA (FROMTIMEOUT) (* ; "Edited 29-Jun-88 14:36 by drc:") (* ;; "This is the main idling loop. ") (RESETLST (RESETSAVE NIL (QUOTE (SETTOPVAL \IDLING NIL))) (PROG ((START.TIME (ALTO.TO.LISP.DATE \LASTUSERACTION)) W SAVEVM.TIMER IDLE.PROCESS NO.ERROR EXIT? INTERRUPTED.STRING IDLING.KEYACTIONS) (COND ((NOT (\OK.TO.IDLE?)) (* ; "Somebody in password prompt, better not idle") (RETURN))) (SETQ \IDLE.PASSWORD.SET) (COND ((EQ (LISTGET IDLE.PROFILE (QUOTE FORGET)) (QUOTE FIRST)) (* ;; "do things like dump cache listings and flush files to servers *before* passwords get smashed") (\USEREVENT (QUOTE BEFORESAVEVM)) (\DEVICEEVENT (QUOTE BEFORESAVEVM)) (\USEREVENT (QUOTE AFTERDOSAVEVM)) (\DEVICEEVENT (QUOTE AFTERDOSAVEVM)))) (RESETSAVE NIL (LIST (FUNCTION (LAMBDA NIL (NOTIFY.EVENT \IDLING.OVER))))) (for X in IDLE.SUSPEND.PROCESS.NAMES bind PROC do (* ; "Turn off things like CROCK, LAFITEMAILWATCH, SPACEWINDOW, REMINDERS") (COND ((SETQ PROC (FIND.PROCESS X)) (PROCESS.EVAL PROC (QUOTE (\IDLE.WAIT)))))) (RESETSAVE (GCGAG NIL)) (RESETSAVE \AFTERLOGINFNS NIL) (* ; "So that SETPASSWORD doesn't trigger any activity") (for X in IDLE.RESETVARS do (* ; "turn off things like pup-trace, xiptrace and the like") (RESETSAVE (SETTOPVAL (CAR X) (EVAL (CADR X))) (LIST (FUNCTION SETTOPVAL) (CAR X) (GETTOPVAL (CAR X))))) (* ; "so that mouse buttons will trigger READP") (COND ((EQ (LISTGET IDLE.PROFILE (QUOTE FORGET)) (QUOTE FIRST)) (SETQ \IDLE.PASSWORD.SET (QUOTE CLEAR)) (SETPASSWORD NIL (USERNAME NIL NIL T) ""))) (RESETSAVE (TTY.PROCESS (THIS.PROCESS))) (* ;; "Note that IDLE has set up our KEYACTION table (in the add.process) to ignore interrupts and make mouse clicks trigger readp.") (RESETSAVE (CHANGENAME (QUOTE \LOGIN.READ) (QUOTE PROVIDE.PROMPTING.WINDOW) (QUOTE \IDLE.PROMPTING.WINDOW)) (QUOTE (CHANGENAME \LOGIN.READ \IDLE.PROMPTING.WINDOW PROVIDE.PROMPTING.WINDOW))) (COND ((OR (AND FROMTIMEOUT (NOT (LET ((TIMEOUT (LISTGET IDLE.PROFILE (QUOTE TIMEOUT)))) (AND (SMALLP TIMEOUT) (\SECONDSCLOCKGREATERP \LASTUSERACTION (TIMES TIMEOUT 60)))))) (NOT (\OK.TO.IDLE?))) (* ;; "Check again if it's ok, since somebody could have fallen into a password prompter between then and now.  Anybody who does after this is ok, because the CHANGENAME above is now in effect.  Also check timeout again, in case there was a user interaction during the BEFORESAVEVM stuff") (RETURN))) (CLEARW PROMPTWINDOW) (SETQ W (CREATEW WHOLESCREEN NIL 0 T)) (RESETSAVE NIL (LIST (FUNCTION CLOSEW) W)) (RESETSAVE (CURSOR (CURSORCREATE (BITMAPCREATE 0 0)))) (CASE (MACHINETYPE) (DORADO (* ;; "this is the only way we can get the background border to be black on a dorado") (RESETSAVE (VIDEOCOLOR T)))) (IF (VIDEOCOLOR) THEN (* ;; "make sure border is black") (RESETSAVE (CHANGEBACKGROUNDBORDER WHITESHADE)) (OPENW W) ELSE (DSPOPERATION (QUOTE ERASE) W) (DSPTEXTURE BLACKSHADE W) (RESETSAVE (CHANGEBACKGROUNDBORDER BLACKSHADE)) (CLEARW W)) (COND ((AND (SMALLP (LISTGET IDLE.PROFILE (QUOTE SAVEVM))) (\FLUSHVMOK? (QUOTE SAVEVM) T)) (* ; "Set up timer to go off when a SAVEVM should be done.  Don't do it if it's not safe") (SETQ SAVEVM.TIMER (SETUPTIMER (TIMES (LISTGET IDLE.PROFILE (QUOTE SAVEVM)) 60000))))) (SETQ IDLE.PROCESS (ADD.PROCESS (CONS (LISTGET IDLE.PROFILE (QUOTE DISPLAYFN)) (CONS W (LISTGET IDLE.PROFILE (QUOTE DISPLAY.DATA)))) (QUOTE NAME) (QUOTE IDLE.DISPLAY))) (RESETSAVE NIL (LIST (FUNCTION DEL.PROCESS) IDLE.PROCESS)) (BLOCK) (* ; "Let the demo get started first") WAIT.FOR.CHAR (COND ((NOT (READP T T)) (BLOCK 250) (\DIRTYBACKGROUND) (COND ((\SAVEVMBACKGROUND) (SETQ SAVEVM.TIMER))) (COND ((OR (KEYDOWNP (QUOTE LSHIFT)) (KEYDOWNP (QUOTE RSHIFT))) (AND (PROCESSP IDLE.PROCESS) (SUSPEND.PROCESS IDLE.PROCESS)) (CLEARW PROMPTWINDOW) (PRINTOUT PROMPTWINDOW (USERNAME NIL NIL T) " Idle " (\IDLE.TIME START.TIME) T) (until (NOT (OR (KEYDOWNP (QUOTE LSHIFT)) (KEYDOWNP (QUOTE RSHIFT)))) do (BLOCK 250)) (AND IDLE.PROCESS (WAKE.PROCESS IDLE.PROCESS)))) (COND ((AND SAVEVM.TIMER (NOT \VMEM.INHIBIT.WRITE) (TIMEREXPIRED? SAVEVM.TIMER)) (COND ((\FLUSHVMOK? (QUOTE SAVEVM) T) (* ; "if SAVEVM not allowed forget it forever") (RESETFORM (CURSOR SAVINGCURSOR) (NLSETQ (SAVEVM))))) (SETQ SAVEVM.TIMER))) (TTY.PROCESS (THIS.PROCESS)) (* ; "Keep us the tty process, even if someone else tries for it") (GO WAIT.FOR.CHAR))) (COND ((PROCESSP IDLE.PROCESS) (SUSPEND.PROCESS IDLE.PROCESS))) (SETQ NO.ERROR (NLSETQ (SETQ EXIT? (\IDLE.EXIT?)))) (COND ((NOT NO.ERROR) (SETQ INTERRUPTED.STRING "ERROR while checking Allowed Logins") (SETPASSWORD NIL (USERNAME NIL NIL T) "") (SETQ \IDLE.PASSWORD.SET (QUOTE CLEAR))) ((NOT EXIT?) (SETQ INTERRUPTED.STRING (CONCAT "Someone tried to use the machine at " (DATE (DATEFORMAT NO.DATE)))) (AND IDLE.PROCESS (WAKE.PROCESS IDLE.PROCESS)) (CLEARBUF T) (GO WAIT.FOR.CHAR))) EXIT (CLOSEW W) (FRESHLINE PROMPTWINDOW) (AND INTERRUPTED.STRING (PRINTOUT PROMPTWINDOW INTERRUPTED.STRING T)) (PRINTOUT PROMPTWINDOW "Idle time " (\IDLE.TIME START.TIME)))) (COND (\IDLE.PASSWORD.SET (* ; "Notify anyone who cares about login change, since we suppressed it earlier") (MAPC \AFTERLOGINFNS (FUNCTION APPLY*)))))
-)
+  [LAMBDA (FROMTIMEOUT)                                    (* ; "Edited 24-Aug-2022 07:12 by larry")
+                                                             (* ; "Edited 20-Aug-2022 14:23 by lmm")
+                                                             (* ; "Edited 29-Jun-88 14:36 by drc:")
+
+    (* ;; "This is the main idling loop. ")
+
+    (RESETLST
+        (RESETSAVE NIL '(SETTOPVAL \IDLING NIL))
+        (PROG ((START.TIME (ALTO.TO.LISP.DATE \LASTUSERACTION))
+               VMEM.SAVED W SAVEVM.TIMER IDLE.PROCESS NO.ERROR EXIT? INTERRUPTED.STRING 
+               IDLING.KEYACTIONS)                            (* ; 
+       "(COND ((NOT (\OK.TO.IDLE?)) (* ;  'Somebody in password prompt, better not idle') (RETURN)))")
+              (SETQ \IDLE.PASSWORD.SET)
+              [COND
+                 ((EQ (LISTGET IDLE.PROFILE 'FORGET)
+                      'FIRST)
+
+                  (* ;; 
+       "do things like dump cache listings and flush files to servers *before* passwords get smashed")
+
+                  (\USEREVENT 'BEFORESAVEVM)
+                  (\DEVICEEVENT 'BEFORESAVEVM)
+                  (\USEREVENT 'AFTERDOSAVEVM)
+                  (\DEVICEEVENT 'AFTERDOSAVEVM]
+              [RESETSAVE NIL (LIST (FUNCTION (LAMBDA NIL
+                                               (NOTIFY.EVENT \IDLING.OVER]
+              [for X in IDLE.SUSPEND.PROCESS.NAMES bind PROC do 
+                                                             (* ; 
+                                "Turn off things like CROCK, LAFITEMAILWATCH, SPACEWINDOW, REMINDERS")
+                                                                (COND
+                                                                   ((SETQ PROC (FIND.PROCESS X))
+                                                                    (PROCESS.EVAL PROC '(\IDLE.WAIT]
+              (RESETSAVE (GCGAG NIL))
+              (RESETSAVE \AFTERLOGINFNS NIL)                 (* ; 
+                                                   "So that SETPASSWORD doesn't trigger any activity")
+              [for X in IDLE.RESETVARS do                    (* ; 
+                                              "turn off things like pup-trace, xiptrace and the like")
+                                          (RESETSAVE (SETTOPVAL (CAR X)
+                                                            (EVAL (CADR X)))
+                                                 (LIST (FUNCTION SETTOPVAL)
+                                                       (CAR X)
+                                                       (GETTOPVAL (CAR X]
+                                                             (* ; 
+                                                           "so that mouse buttons will trigger READP")
+              (COND
+                 ((EQ (LISTGET IDLE.PROFILE 'FORGET)
+                      'FIRST)
+                  (SETQ \IDLE.PASSWORD.SET 'CLEAR)
+                  (SETPASSWORD NIL (USERNAME NIL NIL T)
+                         "")))
+              (RESETSAVE (TTY.PROCESS (THIS.PROCESS)))
+
+         (* ;; "Note that IDLE has set up our KEYACTION table (in the add.process) to ignore interrupts and make mouse clicks trigger readp.")
+
+              (RESETSAVE (CHANGENAME '\LOGIN.READ 'PROVIDE.PROMPTING.WINDOW '\IDLE.PROMPTING.WINDOW)
+                     '(CHANGENAME \LOGIN.READ \IDLE.PROMPTING.WINDOW PROVIDE.PROMPTING.WINDOW))
+              (COND
+                 ((OR [AND FROMTIMEOUT (NOT (LET [(TIMEOUT (LISTGET IDLE.PROFILE 'TIMEOUT]
+                                                 (AND (SMALLP TIMEOUT)
+                                                      (\SECONDSCLOCKGREATERP \LASTUSERACTION
+                                                             (TIMES TIMEOUT 60]
+                      (NOT (\OK.TO.IDLE?)))
+
+                  (* ;; "Check again if it's ok, since somebody could have fallen into a password prompter between then and now.  Anybody who does after this is ok, because the CHANGENAME above is now in effect.  Also check timeout again, in case there was a user interaction during the BEFORESAVEVM stuff")
+
+                  (RETURN)))
+              (CLEARW PROMPTWINDOW)
+              (SETQ W (CREATEW WHOLESCREEN NIL 0 T))
+              (RESETSAVE NIL (LIST (FUNCTION CLOSEW)
+                                   W))
+              [RESETSAVE (CURSOR (CURSORCREATE (BITMAPCREATE 0 0]
+              (SETQ VMEM.SAVED "Vmem not saved")
+              (IF (VIDEOCOLOR)
+                  THEN (OPENW W)
+                ELSE (DSPOPERATION 'ERASE W)
+                     (DSPTEXTURE BLACKSHADE W)
+                     (CLEARW W))
+              [COND
+                 ((SMALLP (LISTGET IDLE.PROFILE 'SAVEVM))    (* ; 
+                                             "Set up timer to go off when a SAVEVM should be done.  ")
+                  (SETQ SAVEVM.TIMER (SETUPTIMER (TIMES (LISTGET IDLE.PROFILE 'SAVEVM)
+                                                        60000]
+              (SETQ IDLE.PROCESS (ADD.PROCESS [CONS (LISTGET IDLE.PROFILE 'DISPLAYFN)
+                                                    (CONS W (LISTGET IDLE.PROFILE 'DISPLAY.DATA]
+                                        'NAME
+                                        'IDLE.DISPLAY))
+              (RESETSAVE NIL (LIST (FUNCTION DEL.PROCESS)
+                                   IDLE.PROCESS))
+              (BLOCK)                                        (* ; "Let the idler get started first")
+          WAIT.FOR.CHAR
+              (COND
+                 ((NOT (READP T T))
+                  (BLOCK 250)                                (* ; "(\DIRTYBACKGROUND)")
+                  (CL:WHEN (OR (AND SAVEVM.TIMER (TIMEREXPIRED? SAVEVM.TIMER))
+                               (AND (FIXP SAVEVMWAIT)
+                                    (\SECONDSCLOCKGREATERP \LASTUSERACTION SAVEVMWAIT)))
+                      (IF (AND (BOUNDP 'ONLINEP)
+                               ONLINEP)
+                          THEN (LOGOUT)
+                        ELSE (NLSETQ (SAVEVM)))
+                      (SETQ VMEM.SAVED (CONCAT "VMEM SAVED AT " (DATE)))
+                      (SETQ SAVEVM.TIMER))
+                  [COND
+                     ((OR (KEYDOWNP 'LSHIFT)
+                          (KEYDOWNP 'RSHIFT))
+                      (AND (PROCESSP IDLE.PROCESS)
+                           (SUSPEND.PROCESS IDLE.PROCESS))
+                      (CLEARW PROMPTWINDOW)
+                      (PRINTOUT PROMPTWINDOW (USERNAME NIL NIL T)
+                             " Idle "
+                             (\IDLE.TIME START.TIME)
+                             T VMEM.SAVED T)
+                      (until [NOT (OR (KEYDOWNP 'LSHIFT)
+                                      (KEYDOWNP 'RSHIFT] do (BLOCK 250))
+                      (AND IDLE.PROCESS (WAKE.PROCESS IDLE.PROCESS]
+                  (TTY.PROCESS (THIS.PROCESS))               (* ; 
+                                         "Keep us the tty process, even if someone else tries for it")
+                  (GO WAIT.FOR.CHAR)))
+              (COND
+                 ((PROCESSP IDLE.PROCESS)
+                  (SUSPEND.PROCESS IDLE.PROCESS)))
+              [SETQ NO.ERROR (NLSETQ (SETQ EXIT? (\IDLE.EXIT?]
+              (COND
+                 ((NOT NO.ERROR)
+                  (SETQ INTERRUPTED.STRING "ERROR while checking Allowed Logins")
+                  (SETPASSWORD NIL (USERNAME NIL NIL T)
+                         "")
+                  (SETQ \IDLE.PASSWORD.SET 'CLEAR))
+                 ((NOT EXIT?)
+                  [SETQ INTERRUPTED.STRING (CONCAT "Someone tried to use the machine at "
+                                                  (DATE (DATEFORMAT NO.DATE]
+                  (AND IDLE.PROCESS (WAKE.PROCESS IDLE.PROCESS))
+                  (CLEARBUF T)
+                  (GO WAIT.FOR.CHAR)))
+          EXIT
+              (CLOSEW W)
+              (FRESHLINE PROMPTWINDOW)
+              (AND INTERRUPTED.STRING (PRINTOUT PROMPTWINDOW INTERRUPTED.STRING T))
+              (PRINTOUT PROMPTWINDOW "Idle time " (\IDLE.TIME START.TIME))))
+    (COND
+       (\IDLE.PASSWORD.SET                                   (* ; 
+                         "Notify anyone who cares about login change, since we suppressed it earlier")
+              (MAPC \AFTERLOGINFNS (FUNCTION APPLY*])
 
 (\IDLE.WAIT
   [LAMBDA NIL
@@ -435,13 +572,13 @@ Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990, 1992 by Venue & Xerox Corporat
 
 (RPAQ? IDLE.KEYACTIONTABLE )
 
-(ADDTOVAR SYSTEMINITVARS (IDLE.PROFILE ALLOWED.LOGINS NIL FORGET NIL TIMEOUT 0 DISPLAYFN 
-                                    IDLE.BOUNCING.BOX SAVEVM 10 AUTHENTICATE T LOGIN.TIMEOUT 30))
+(ADDTOVAR SYSTEMINITVARS (IDLE.PROFILE ALLOWED.LOGINS NIL FORGET NIL TIMEOUT 0 DISPLAYFN IDLE.RANDOM
+                                SAVEVM 10))
 
 (ADDTOVAR IDLE.SUSPEND.PROCESS.NAMES MOUSE)
 
 (ADDTOVAR IDLE.RESETVARS (PUPTRACEFLG NIL)
-                             (XIPTRACEFLG NIL))
+                         (XIPTRACEFLG NIL))
 (DECLARE%: DOEVAL@COMPILE DONTCOPY
 
 (GLOBALVARS IDLE.PROFILE \IDLING \LASTUSERACTION IDLE.RESETVARS IDLE.SUSPEND.PROCESS.NAMES 
@@ -605,24 +742,32 @@ Copyright (c) 1985, 1986, 1987, 1988, 1989, 1990, 1992 by Venue & Xerox Corporat
                       DSP)
                (PRIN3 BOX DSP)
                BITMAP])
+
+(IDLE.RANDOM
+  [LAMBDA (W)                                              (* ; "Edited 22-Aug-2022 21:48 by larry")
+    (LET [(N (RAND 1 (CL:1- (LENGTH IDLE.FUNCTIONS]
+         (for FN in IDLE.FUNCTIONS when (NEQ 'Random (CAR FN))
+            do (if (< (SETQ N (CL:1- N))
+                      1)
+                   then (RETURN (APPLY* (EVAL (CADR FN))
+                                       W])
 )
 
 (RPAQ? IDLE.BOUNCING.BOX (BITMAPCOPY LOGOBITMAP))
 
-(RPAQ? IDLE.FUNCTIONS '[("Bouncing Box" 'IDLE.BOUNCING.BOX)
-                            ("Bouncing Username" '(LAMBDA (W)
-                                                         (IDLE.BOUNCING.BOX W (USERNAME NIL NIL T])
+(RPAQ? IDLE.FUNCTIONS '(("Bouncing Box" 'IDLE.BOUNCING.BOX)
+                        (Random 'IDLE.RANDOM)))
 (DECLARE%: DOEVAL@COMPILE DONTCOPY
 
 (GLOBALVARS IDLE.FUNCTIONS IDLE.BOUNCING.BOX)
 )
-(PUTPROPS IDLER COPYRIGHT ("Venue & Xerox Corporation" 1985 1986 1987 1988 1989 1990 1992))
+(PUTPROPS IDLER COPYRIGHT ("Venue & Xerox Corporation" 1985 1986 1987 1988 1989 1990 1992 2022))
 (DECLARE%: DONTCOPY
-  (FILEMAP (NIL (7561 30612 (IDLE 7571 . 8016) (IDLE.SET.OPTION 8018 . 11322) (IDLE.SHOW.OPTIONS 11324
- . 11892) (IDLE.SHOW.OPTION 11894 . 13350) (\IDLER 13352 . 18468) (\IDLE.WAIT 18470 . 18573) (
-\OK.TO.IDLE? 18575 . 18747) (\IDLE.TIME 18749 . 19535) (\IDLE.OUT 19537 . 19914) (\IDLE.EXIT? 19916 . 
-22009) (\IDLE.PROMPT.WATCHER 22011 . 22673) (\IDLE.EXIT.ABORT 22675 . 22959) (\IDLE.PROMPTING.WINDOW 
-22961 . 23700) (\IDLE.IS.PREVIOUS 23702 . 25594) (\IDLE.ISMEMBER 25596 . 28199) (\IDLE.AUTHENTICATE 
-28201 . 29526) (\IDLERKEYACTION 29528 . 30610)) (35906 39471 (IDLE.BOUNCING.BOX 35916 . 37472) (
-IDLE.BITMAP 37474 . 39469)))))
+  (FILEMAP (NIL (7133 33523 (IDLE 7143 . 7588) (IDLE.SET.OPTION 7590 . 10894) (IDLE.SHOW.OPTIONS 10896
+ . 11464) (IDLE.SHOW.OPTION 11466 . 12922) (\IDLER 12924 . 21379) (\IDLE.WAIT 21381 . 21484) (
+\OK.TO.IDLE? 21486 . 21658) (\IDLE.TIME 21660 . 22446) (\IDLE.OUT 22448 . 22825) (\IDLE.EXIT? 22827 . 
+24920) (\IDLE.PROMPT.WATCHER 24922 . 25584) (\IDLE.EXIT.ABORT 25586 . 25870) (\IDLE.PROMPTING.WINDOW 
+25872 . 26611) (\IDLE.IS.PREVIOUS 26613 . 28505) (\IDLE.ISMEMBER 28507 . 31110) (\IDLE.AUTHENTICATE 
+31112 . 32437) (\IDLERKEYACTION 32439 . 33521)) (38770 42767 (IDLE.BOUNCING.BOX 38780 . 40336) (
+IDLE.BITMAP 40338 . 42333) (IDLE.RANDOM 42335 . 42765)))))
 STOP
diff --git a/sources/IDLER.LCOM b/sources/IDLER.LCOM
index ec449ac1..2bb714f7 100644
Binary files a/sources/IDLER.LCOM and b/sources/IDLER.LCOM differ
