Merge "Add a bugreport mode"