Updated removepictures to change when needed. Removed Thumbnailloader class
Merge removePages