Added comment lines and safety layer

Some malicious pieces of code might have been able to steal your MySQL
credentials. Not anymore, because after the connection is created, the
variables are resetted.