Menu functionality, constants, macros, rendering of initial display