Revert "text-input: massive utf-8 fixes"

This reverts commit 545ddc511e78ac5949cb8c553c42da5b747dd479.
these were just fucked, i need to try this again.
move input buffer management into text-buffer.c
text-input: remove debug printf()