v0.20 improved text writer (unfinished), destroyObject() and cleaned
code