fixes

- done with multithreading;
- fix: left arrow was was same as right;
- fix: photo thumbnails now now display as intended;
- code cleaning;
- minor style fixes.