Using settings in frontend.
Small fixes.