Add various notification/error handling for users. Cleaned the error codes and messages.