Improvements to custompages, partialy added HTML minify feature
Fixed last commit