added tax calculating helper function (no idea why), and font and color dialogs