Log clearing and menu cleanup