Removing displays_errors on Profiling tool if _PS_MODE_DEV_ is disabled

 - Profiling displays errors only if _PS_MODE_DEV_ is enabled (Previously, it override error managment)
 - Removing obsolete functions