don't display the view twice
template fixes, make title a variable
don't allow direct access of includes
change lambdas into regular functions (for future unit testing)