i have those late night thoughts as well at times and they are really painful. i have been doing two things.
1) repeating "may i be happy. may i be at peace." this takes the focus off of W and Ow in my mind.
2) letting go of W and releasing her into God's hands. lately i have been saying "she is yours and so am I" I added the last part to remind myself that God is caring for me right now in so many ways, by sheparding my growth and even by not having us together, as W is not in a place that would be good for me.