minor fixes

unused imports are commented out
exclude picture files and video files