editor.py: PEP-8 reformat
server.py: remove unused read(), inline send()

The only user of send() is send_msg, so just inline send()
into it.