Write terminate message before closing connection.
Refactor messages.
Clean up loader.
Remove null bytes from strings.
Add date and time support.