Fixed issue number something and something

Checks for 0 length actions and fixes dictionary issue with die rolls