Hi, what version are you using? please double check the TUI commands ( line 2 ) because it seems not to be updated to the last version.
It should be something like (ti-menu-load-string (format #f "/display/objects/edit contour surfaces-list ~a () () " x))
The behavior you reported is expected, but it should not limit the funcionality. Add a space at the end of each line se correctly separate the commands.
Luca