simplified and beautified the config editor
code beautification (after using pylint)
minor improvements in magic numbers
code simplification and beautification;

* removed finished/winner, so it always runs forever.
* simplified Graph Sensor-mechanism