Removing debugging and editing messages