Moved the setting parsing to functions and let bootleg call it instead of dealing with it directly.
Add CD Drive checking.