Use util.{Panic Recover} in edit/reader.go
Implement setting of global variables