Task threads now set the quit flag when they catch an exception; also added an abortive attempt at X event triggers (in workspace/)