Improved print dialog
By popular demand. ;-) Here's the interactive print dialog, as discussed on the mailing list. Also includes some fixes to sys_domicrosleep() backported from vanilla, and the required workaround to prevent crashes upon SIGHUP from the watchdog on Linux.