added targetID option to createGraphics()