Thanks for the attempt. I think I covered most possibilities already however. Unfortunately it only has about 50 bytes to play with.