For some reason, checkboxes cant accept vectors of bools. I've read that c++ vector bools are broken. No idea why, so i had to do this workaround. Perhaps the ints can be changed to bools though.