This passed my own small usage tests, but please give it a try. As usual some feedback on portability issues are really welcome too :-)