Implemented displaying original images. Refactored thumbnail and big picture dialog classes.