Adds a 'valid' property to BaseItems.
Adds a method to render 404 pages.
Fixes variable naming bug.