widget minor fix
Renamed signal to sig to resolve naming conflict with pthreads library