Added a reliable way of loading bitmaps and assigning them to keypresses.