Added DEBUGMODE to switch on/off display_errors
Merge pull request #3 from gehaxelt/bugfix_displayerrors

Added DEBUGMODE to switch on/off display_errors