The court was told Emma Miller was 'actively taking steps to turn her life around'