Re-did cookie stuff.  Didn't really work before...but didn't see any
crashes until I ported it to Windows.