Replaced use of a library bundle with built-in image data.
Also - since we don't use automatic memory management yet - fixed memory leaks.