Added catching signals other than sigint
Added delay in addToOverlay