Resolves everything that has to do with diagnostics (I think) and the diagnose() subroutine. Remove ping() because I realized it is an useless test. Updated the HTML template accordingly. Inserted some missing diagnostics subroutines: check_ip_address(), check_agent_version(). Some modifications to the SQLite systems table to go with these changes.