Refactored 404 pages to set a code and return content.
Replaced time delta parsing with Babel functions, simplifying code.
Updated and fixed cut_after function.
Moved script iteration to template instead of view code.
Added a basic install script for the logviewer, enabling installation of third-party requirements.