Correct typo in functions_print.php - LDS ordinance
Further improvements to error handling
Merge branch 'origin/master'