fix build errors for advanced power menu
more boot menu code
add more code for reboot menu