Removed use of max_q_increment in threadInit()
Added first version of turn_valve interface