Refactored insert_thought
Added peep_update_drowning.