Getting close to first beta

+ Version check
+ Menu
+ preferences
+ improving Plot
+ improving latency model

+ cleaning of the code base