Fixed freeze when no files are being combined

fixes #3