exposes application to any subsequent script run in this process

by declaring the d{} variable this can then be queried by the cmds executed post gaffer launch
now limits variables exposed to cmd to only contents of d
Merge pull request #433 from bentoogood/screenGrabApp

exposes application to any subsequent 'cmd' run in this process