Added 4.7 compatibility. Made the button show as disabled if there are no logs to avoid confusion. Added new button to delete file-based logs.