Format code
Set the border relief style of close button of canvas window tab to None
Remove unused code
Typo