Some fixes and stuff

Added varToStr because Tonic, and some mistakes fixed.