Reworked TreeActivity, added debugging function to Recipe