In the context of computer science, could you explain the steps involved in safely deleting system data, including the necessary precautions to prevent data loss or corruption, and discuss the implications of improperly handling system data deletion?