changed resource loading from BitmapData to LoadedBitmap (more abstract)