Fixed check of ini files of modules and added invoke page_render if in maintenance mode.