added dice, also fixed some locale stuff