Improved GUI, fixed log counting