This is very dirty fix to get rid of some problems with chart (division
by zero, log of zero ...)
Better way to prevent execeptions for invalid chart ranges - div by
zero, log of zero
Making menubar working on Ubuntu with unity and  activated global menu.
GTK2 will not work in global menu, however there is easy way to disable
global menu per application