improve log popup and commands