Going to probably undo this stuff
Complete function to load bitmap data into an array