Body classes still showing 'page-node-#' instead of title or menu word
I noticed that your function is named THEMENAME_preprocess_html(). If you don't have THEMENAME replaced with the name of your theme, the function won't be called and your classes won't get added.