Snitch_id fixes and preliminary chat work