Implemented a 'safe echo' function. It basically runs the input through
the htmlentities() function before echoing it.