optional use of arsd.eventloop on X/Linux
finally merged old Cocoa implementation - someone test plz