updated region types and changed some small things in the BBTreeWidget class