refactor displayGenerationCounter by replacing extra output with +=
replace self with this when it wasn't necessary to use self
reorder ul li menu items