Revert "Remove mbcs (it was define DW_WIDTH on upstream)"

This reverts commit 233028077fc08fac2b18ab59ee1778ce3d917211.
Colors fixed
Remove "speedup code"

I see no difference in speed
Rewrite strlen_onscreen using wcwidth()
Remove unuseful comment
add basic multiwindow input support