Added menu rendering logic

seperators and menu items now render correctly