Added system bell and waiting message when an error occurs