[tor-commits] [oonib/master] Refactoring and tidying up of various different parts of the codebase.