cif most of your diet is healthy, and it's just nighttime eating, try a flavored decaffinated tea so it won't affect your sleep even more. Hot chocolate doesn't have as much caffeine as coffee, but it's high in sugar, which can also keep you awake - although they do make sugar free mix, as well.
plan ahead for snacks that can be made with less or no sugar & butter...there are tons of recipes for cookies and other sweets that replace sugar and butter with unsweetened applesauce.
"Emily Bites" is a good site, she calls her recipes "lightened up comfort food".
http://www.emilybites.com/recipes"Can you stay for dinner" is a blog by a young woman who lost 135 pounds. She has recipes as well, her story is on the site and she has a book out on Amazon.
http://www.canyoustayfordinner.com/bottom line: it ain't easy! but it's easier than it was years ago...