Alexander Nicolaysen Sørnes : add objectManager::error_exit() and use it in application::display()