image thumbnails, code cleanup, audio/video embedding