updated status_message() and error_message() calls to use $self