Text rendering now works, needs some tweaking though.