Thought archive, re-frame update and other minor changes