Add preferences file support and mostly complete handling for expired, inside a window, or default events.
Add preferences file support and mostly complete handling for expired,
inside a window, or default events.

princeofdarkness76/sial.org-scripts,princeofdarkness76/sial.org-scripts,thrig/scripts,thrig/scripts,thrig/scripts,thrig/scripts,princeofdarkness76/sial.org-scripts,princeofdarkness76/sial.org-scripts,princeofdarkness76/sial.org-scripts,thrig/scripts,thrig/scripts