changed scope in pc dep.
fixed refresh duplicity
added textEditor, file listeners for refresh
updated