Various cleanup.
diff --git a/include/memdraw.h b/include/memdraw.h
index 08784ce..2d4f54f 100644
--- a/include/memdraw.h
+++ b/include/memdraw.h
@@ -46,6 +46,7 @@
 	Memlayer	*layer;	/* nil if not a layer*/
 	u32int		flags;
 	void		*X;
+	int		screenref;	/* reference count if this is a screen */
 
 	int		shift[NChan];
 	int		mask[NChan];