Added null check in case the user denied access to the microphone.
Prevent handing NaN to the BitmapData constructor
Now supporting retina displays