logger and minor improvements
Merge branch 'logging' into mergebr

Conflicts:
	partkill.py