improved GUI, clean code and log