display_errors only forced to on when debug mode is on, closes #133