Improve CD drive checking.
Update .gitignore