Fix the thumbnail generation in case the same width is asked and a some unit test. re #127
Minor refactoring. re #127
Forgot to remove the commented out code. re #127
Update header. re #127
Properly remove the temp file. re #127
Test getFilePath. re #127
Another test. re #127