finally added logarithmic axis scaling and made gui working