syslinux: add initial menu handling code