syslinux: add functions for rendering top/bottom
syslinux: replace get_input with fgets