Cleaned up the code in the native CD Player so that it will be easier to wrap in a managed class