Fixed mysqli and some styling issues.