Working on viewer threading for mac.