More work on text rendering. still doesnt work