Display progress while generating thumbnails
Alleviate gc pressure by forcing garbage collections when converting images
Use a single query to insert multiple pics
More detailed protocol wrt progress data for the thumbnails-conversion page
Work around the sqlite limitation wrt number of arguments/query

http://stackoverflow.com/questions/7106016/too-many-sql-variables-error-in-django-witih-sqlite3