Editbox resets

Editbox now resets after opening a 2nd file.