Merge pull request #796 from narfbg/develop

Optimize display_errors() in Image_lib, Trackback and Upload libraries