I used the 4K7 pulldown resistors and it works perfectly.
Just one thing to remind: Don't use GPIO16/D0 as it is always HIGH during boot.
I never heard that one should digitalWrite to 0 before setting the mode to Output to ensure there is no glitch. Care to explain where this is coming from?