Merge pull request #79 from dterweij/dev

Add newline else compile fails.
Merge pull request #80 from dterweij/dev

Convert mysql to mysqli (No more blank screens and login errors)