* Added support for Targa files.
* Code re-organised to allow for easier additions of new file formats.
* Spaces in layer names are changed to '_' and not eaten anymore.
* Script changed to run only on hitting the 'Continue' button.