Major Issues resolved

Messed up sanitizing the input, so i changed that. Then in Tools.js I
fixed the problem with changing text into HTML parseable tags that work.