close all opened files
Merge branch 'master' into python3

Conflicts:
	appconfig/appconfig.py