implemented boxes in gui and core. still immature though