improved sending conditional in client_system
enabled indexing and corrected has_something_to_send