fixes to lang v1: "box wave -1" now works OK, see tests