Couldn't all these CGUIDialogKaiToast::QueueNotification() calls (except for the ones taking an enum) be combined into one by using a variable for the first parameter which would either be empty or contain the path to the file to load (the path passed in or the path to the temporary image)?