Adding Errorhandling pictures Directory not found

Also removing debug lines