Made the CoreAudio device return its bit-depth correctly.
Avoiding crashes in plugins if components get deleted during a paint callback