Fry the onion and bacon gently in the butter until the both are cooked (the onion must be golden NOT brown),cool slightly then mix with all the remaining ingredients, including the cranberries and the port, adding enough of the egg to bind; check and adjust the seasoning.