Re-coded our safeName function used for sanitizing filenames.
Changed code for checking final status of processed movies.