Added KLoggging and also need to convert all mySQL statements back to MySQL from MySQLi... Server does not support MySQLi. #20