Improvements to framework exception handling.
Refactoring of File rendering.
Fixing Download controller and Files to make use of include_path.