Captures the desktop in a loop using Desktop Duplication API and saves them as bitmap images in the current Directory