Improved printed output
Improved the removal of duplicate resets