First cut of RM#20, thread stop statements, fixes #221