Fixed Valgrind suppressions
Fixed leaks and UB reported by Valgrind
Bot can be stopped with esc