Switch to using a print function that allows us to print to screen and to file. Useful for debugging later on, plus, timestamps.
Merge remote-tracking branch 'origin/master'

Conflicts:
	mfdb-json.php
Merge.