Added box option to debug draw. Additional work on the nom test.