Rewrote rendering engine to enable text rendering.