Small code cleanup
Tools and styles pages and functions