[[ RefactorSyntax ]] Removed ifdef's out non-legacy code from chunk.cpp; fixed resolution of 'menu <name>' chunk expression