Fixed issues with web root settings not working.
Fixed more NoneType iterable errors.