I am afraid I can't be too useful for your particular problem, but I would suggest looking into AppleScript, if you haven't already, since there is likely some way to "tell finder to tell me which wallpaper is currently displayed".
Sorry.
Sorry.