flushline and writestring can now return an error
2 files changed