More singal handler module improvements (using std function)