Small changes, added boxes to detect out-of-bounds popcorn