Two recent developments in numerical simulation of premixed and partially premixed turbulent flames