Added the option for certain groups to be ignored in the calculation of the total, by prefixing the group name with an asterisk ("*"). Also fixed an exception.