some little adaptions
frequency-detector code optimized, some UI optimizations