clearing the cache and cookies in portable firefox and thunderbird

Actually this is a proposal :)

You can already do this (as I do) using customlocation

http://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/how-to-clean-user-data-from-non-standard-mozilla-browsers

Also works for opera and chrome