- reduced number of threads
- simplified thumbnail drawing
- some cleaning