added qalter; stricter running state
added qalter; stricter running state
Merge remote-tracking branch 'origin/master'