Added calls to screenshot utility. DOES NOT WORK: fix calls on wrong thread.