pass variable by reference
Merge pull request #1037 from greezybacon/issue/signal-byref

signals: pass variable by reference

Reviewed-By: Peter & Jared