There have been significant improvements in the management of young people in detention, a new review has found – but Unit 18 should still close.