Thanks - I spent quite a lot of time cleaning it up!