better prose line breaking, added semantic logic check for character management