Hi phrogz, justin, trans and matthew, thank you for all the pointers,  
they look like they'll be very useful.