boxes improved

got them functioning closer to how we want, have identified some bad
bugs.