Graphpher shader delete hang fix

also adds a gil release to Plug::setInput() to avoid a hang when creating nodes