K400 , rinDebug update

Various updates to K400 and rinDebug