Added support for multiple settings pages and activated the page clipping