clean up logs. set up info dialog