Added counter control. Changed pid_t to Q_PID.
Merge branch 'master' of https://github.com/necto/denfer

Conflicts:
	sources/app/model-objects.cpp
Merge branch 'master' of https://github.com/necto/denfer