mostly working, but some issues.
okay, seems to be working. Last show-stopper required feature is wide characters
to support accents.