Bade basic text editor

Saves when it closes and reprints when reopened