wx.BitmapFromImage & wx.ImageFromStream Pnx Fixes

wx.BitmapFromImage to wx.Bitmap
wx.ImageFromStream to wx.Image
Trim Trailing Space