Added in part image rendering and a basic text rendering function