Recursive methods reworked

Recursive methods in ForumSettings and WideScreenHeader classes reworked
to get rid of recursion. Two consecutive checks (if needed) would be
performed instead.