Fixed out of bounds read.
fix backspace bug, simplify a bit
fix possible buffer overflows and undefined behaviour
fix bug
fix bug and typo
Merge branch 'master' of https://github.com/JFreegman/toxic into groupbot