Fix the "showlog" bug

Also add a "reset" button